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)
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