[pcl] 01/01: Fix PCLConfig.cmake (patch taken from Fedora)
Jochen Sprickerhof
jspricke-guest at moszumanska.debian.org
Thu Nov 13 10:19:22 UTC 2014
This is an automated email from the git hooks/post-receive script.
jspricke-guest pushed a commit to branch master
in repository pcl.
commit 9c3175cdc556400e81cd00b66c203c1d34686247
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date: Thu Nov 13 11:18:07 2014 +0100
Fix PCLConfig.cmake (patch taken from Fedora)
---
.../0004-Correct-PCL_ROOT-in-PCLConfig.cmake.patch | 27 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 28 insertions(+)
diff --git a/debian/patches/0004-Correct-PCL_ROOT-in-PCLConfig.cmake.patch b/debian/patches/0004-Correct-PCL_ROOT-in-PCLConfig.cmake.patch
new file mode 100644
index 0000000..177a04f
--- /dev/null
+++ b/debian/patches/0004-Correct-PCL_ROOT-in-PCLConfig.cmake.patch
@@ -0,0 +1,27 @@
+From 66f767e9928f068a5a63308a7cfed52495ae420e Mon Sep 17 00:00:00 2001
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Thu, 13 Nov 2014 10:50:53 +0100
+Subject: [PATCH 4/4] Correct PCL_ROOT in PCLConfig.cmake
+
+Taken from http://pkgs.fedoraproject.org/cgit/pcl.git/tree/pcl-1.7.1-fedora.patch
+---
+ PCLConfig.cmake.in | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/PCLConfig.cmake.in b/PCLConfig.cmake.in
+index 5f5b07f..0dee8fb 100644
+--- a/PCLConfig.cmake.in
++++ b/PCLConfig.cmake.in
+@@ -531,8 +531,7 @@ if(WIN32 AND NOT MINGW)
+ get_filename_component(PCL_ROOT "${PCL_DIR}" PATH)
+ else(WIN32 AND NOT MINGW)
+ # PCLConfig.cmake is installed to PCL_ROOT/share/pcl-x.y
+- get_filename_component(PCL_ROOT "${PCL_DIR}" PATH)
+- get_filename_component(PCL_ROOT "${PCL_ROOT}" PATH)
++ set(PCL_ROOT "@CMAKE_INSTALL_PREFIX@")
+ endif(WIN32 AND NOT MINGW)
+
+ # check whether PCLConfig.cmake is found into a PCL installation or in a build tree
+--
+2.1.3
+
diff --git a/debian/patches/series b/debian/patches/series
index b8981ee..df30344 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
0001-Package-names-for-OpenNI-and-OpenNI2-were-wrong-in-c.patch
0002-Corrected-openni-dev-and-openni2-dev-in-PCLConfig.cm.patch
0003-Always-build-libpcl_apps.so.patch
+0004-Correct-PCL_ROOT-in-PCLConfig.cmake.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pcl.git
More information about the debian-science-commits
mailing list