From: Jochen Sprickerhof Date: Sat, 31 Aug 2024 14:48:36 +0000 (+0200) Subject: Hard-code PCL_ROOT X-Git-Tag: archive/raspbian/1.14.0+dfsg-5+rpi1^2~9 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b381ae05c558c5d4f120b6dd040cc6c0b93eea76;p=pcl.git Hard-code PCL_ROOT Closes: #1080061 --- diff --git a/debian/patches/0001-Fix-PCL_ROOT-path.patch b/debian/patches/0001-Fix-PCL_ROOT-path.patch index 14d4886f..9cfa7b7f 100644 --- a/debian/patches/0001-Fix-PCL_ROOT-path.patch +++ b/debian/patches/0001-Fix-PCL_ROOT-path.patch @@ -7,7 +7,7 @@ Subject: Fix PCL_ROOT path 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PCLConfig.cmake.in b/PCLConfig.cmake.in -index cf21c44..2eafd3c 100644 +index cf21c44..e664080 100644 --- a/PCLConfig.cmake.in +++ b/PCLConfig.cmake.in @@ -411,7 +411,7 @@ if(WIN32 AND NOT MINGW) @@ -15,7 +15,7 @@ index cf21c44..2eafd3c 100644 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) ++ set(PCL_ROOT "/usr") endif() # check whether PCLConfig.cmake is found into a PCL installation or in a build tree