From: Jochen Sprickerhof Date: Fri, 18 Aug 2017 09:30:38 +0000 (+0200) Subject: Fix PCL_ROOT path X-Git-Tag: archive/raspbian/1.14.0+dfsg-5+rpi1^2^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f5f8812ed8e93201825f44cb417cd79ce37bd8c1;p=pcl.git Fix PCL_ROOT path Gbp-Pq: Name 0001-Fix-PCL_ROOT-path.patch --- diff --git a/PCLConfig.cmake.in b/PCLConfig.cmake.in index cf21c443..e6640808 100644 --- a/PCLConfig.cmake.in +++ b/PCLConfig.cmake.in @@ -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