summaryrefslogtreecommitdiff
path: root/pcl-1.12.0-fedora.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-10-16 05:03:59 +0000
committerCoprDistGit <infra@openeuler.org>2026-10-16 05:03:59 +0000
commita4cc985289ba4c54aef3020ebd1d051b94157a3c (patch)
tree131df67809d265bd85870316f35c33b1fd71c1f7 /pcl-1.12.0-fedora.patch
parent469084ed2febee40db0c39dc5333d2de76d57fa3 (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