summaryrefslogtreecommitdiff
path: root/pcl-1.12.0-fedora.patch
diff options
context:
space:
mode:
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