Fix PCL_ROOT path
authorJochen Sprickerhof <git@jochen.sprickerhof.de>
Fri, 18 Aug 2017 09:30:38 +0000 (11:30 +0200)
committerJochen Sprickerhof <jspricke@debian.org>
Mon, 5 Aug 2024 07:21:00 +0000 (09:21 +0200)
Gbp-Pq: Name 0001-Fix-PCL_ROOT-path.patch

PCLConfig.cmake.in

index cf21c443742d448be0f32d8a46164bf43912de16..2eafd3cc30c4a0ddecbd94dd6caddce55fd03941 100644 (file)
@@ -411,7 +411,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)
+  get_filename_component(PCL_ROOT "${CMAKE_CURRENT_LIST_DIR}/../../../.." ABSOLUTE)
 endif()
 
 # check whether PCLConfig.cmake is found into a PCL installation or in a build tree