1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PCLConfig.cmake.in b/PCLConfig.cmake.in
-index 6fadb59..3443905 100644
+index 9f78fcf..91e6ebd 100644
--- a/PCLConfig.cmake.in
+++ b/PCLConfig.cmake.in
-@@ -393,7 +393,7 @@ if(WIN32 AND NOT MINGW)
+@@ -398,7 +398,7 @@ if(WIN32 AND NOT MINGW)
get_filename_component(PCL_ROOT "${PCL_DIR}" PATH)
- else(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)
- endif(WIN32 AND NOT MINGW)
+ endif()
# check whether PCLConfig.cmake is found into a PCL installation or in a build tree