summaryrefslogtreecommitdiff
path: root/pcl-1.12.0-fedora.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-10-16 06:31:18 +0000
committerCoprDistGit <infra@openeuler.org>2026-10-16 06:31:18 +0000
commit89165ae98b7038d1296e15dffdf2272c3ff12860 (patch)
tree131df67809d265bd85870316f35c33b1fd71c1f7 /pcl-1.12.0-fedora.patch
parent60c5adb532cfc55ee82ac8f7a474983f03598c73 (diff)
automatic import of pclopeneuler24.03_LTS
Diffstat (limited to 'pcl-1.12.0-fedora.patch')
-rw-r--r--pcl-1.12.0-fedora.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/pcl-1.12.0-fedora.patch b/pcl-1.12.0-fedora.patch
new file mode 100644
index 0000000..7433e26
--- /dev/null
+++ b/pcl-1.12.0-fedora.patch
@@ -0,0 +1,12 @@
+diff -up ./PCLConfig.cmake.in.fedora ./PCLConfig.cmake.in
+--- ./PCLConfig.cmake.in.fedora 2020-05-29 17:48:55.884924391 -0400
++++ ./PCLConfig.cmake.in 2020-05-29 17:50:25.211139677 -0400
+@@ -398,7 +398,7 @@ if(WIN32 AND NOT MINGW)
+ endif()
+ else()
+ # PCLConfig.cmake is installed to PCL_ROOT/share/pcl-x.y
+- get_filename_component(PCL_ROOT "${CMAKE_CURRENT_LIST_DIR}/../.." ABSOLUTE)
++ set(PCL_ROOT "@CMAKE_INSTALL_PREFIX@")
+ endif()
+
+ # check whether PCLConfig.cmake is found into a PCL installation or in a build tree