From: Jochen Sprickerhof Date: Fri, 24 Jan 2020 13:21:47 +0000 (+0100) Subject: update patch X-Git-Tag: archive/raspbian/1.14.0+dfsg-2+rpi1^2~110 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=dc1a979d016bf7da3007ac94601eb390d05c39e0;p=pcl.git update patch --- diff --git a/debian/patches/0001-Fix-PCL_ROOT-path.patch b/debian/patches/0001-Fix-PCL_ROOT-path.patch index 71a6b979..5e317db9 100644 --- a/debian/patches/0001-Fix-PCL_ROOT-path.patch +++ b/debian/patches/0001-Fix-PCL_ROOT-path.patch @@ -7,15 +7,15 @@ Subject: Fix PCL_ROOT path 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PCLConfig.cmake.in b/PCLConfig.cmake.in -index 6fadb59..3443905 100644 +index 9f78fcf..91e6ebd 100644 --- a/PCLConfig.cmake.in +++ b/PCLConfig.cmake.in -@@ -393,7 +393,7 @@ if(WIN32 AND NOT MINGW) +@@ -398,7 +398,7 @@ if(WIN32 AND NOT MINGW) get_filename_component(PCL_ROOT "${PCL_DIR}" PATH) - else(WIN32 AND NOT MINGW) + else() # PCLConfig.cmake is installed to PCL_ROOT/share/pcl-x.y - get_filename_component(PCL_ROOT "${CMAKE_CURRENT_LIST_DIR}/../.." ABSOLUTE) + get_filename_component(PCL_ROOT "${CMAKE_CURRENT_LIST_DIR}/../../../.." ABSOLUTE) - endif(WIN32 AND NOT MINGW) + endif() # check whether PCLConfig.cmake is found into a PCL installation or in a build tree