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>
Sat, 31 Aug 2024 14:50:03 +0000 (16:50 +0200)
Gbp-Pq: Name 0001-Fix-PCL_ROOT-path.patch

PCLConfig.cmake.in

index cf21c443742d448be0f32d8a46164bf43912de16..e66408082529e0136b21ef47ea56aea68faeaaa8 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)
+  set(PCL_ROOT "/usr")
 endif()
 
 # check whether PCLConfig.cmake is found into a PCL installation or in a build tree