File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -384,6 +384,9 @@ file(TO_CMAKE_PATH "${PCL_DIR}" PCL_DIR)
384
384
if (WIN32 AND NOT MINGW )
385
385
# PCLConfig.cmake is installed to PCL_ROOT/cmake
386
386
get_filename_component (PCL_ROOT "${PCL_DIR} " PATH )
387
+ if (EXISTS "${PCL_ROOT} /3rdParty" )
388
+ set (PCL_ALL_IN_ONE_INSTALLER ON )
389
+ endif ()
387
390
else ()
388
391
# PCLConfig.cmake is installed to PCL_ROOT/share/pcl-x.y
389
392
get_filename_component (PCL_ROOT "${CMAKE_CURRENT_LIST_DIR} /../.." ABSOLUTE )
@@ -395,17 +398,11 @@ if(EXISTS "${PCL_ROOT}/include/pcl-${PCL_VERSION_MAJOR}.${PCL_VERSION_MINOR}/pcl
395
398
# pcl_message("Found a PCL installation")
396
399
set (PCL_CONF_INCLUDE_DIR "${PCL_ROOT} /include/pcl-${PCL_VERSION_MAJOR} .${PCL_VERSION_MINOR} " )
397
400
set (PCL_LIBRARY_DIRS "${PCL_ROOT} /@LIB_INSTALL_DIR@" )
398
- if (EXISTS "${PCL_ROOT} /3rdParty" )
399
- set (PCL_ALL_IN_ONE_INSTALLER ON )
400
- endif ()
401
401
elseif (EXISTS "${PCL_ROOT} /include/pcl/pcl_config.h" )
402
402
# Found a non-standard (likely ANDROID) PCL installation
403
403
# pcl_message("Found a PCL installation")
404
404
set (PCL_CONF_INCLUDE_DIR "${PCL_ROOT} /include" )
405
405
set (PCL_LIBRARY_DIRS "${PCL_ROOT} /lib" )
406
- if (EXISTS "${PCL_ROOT} /3rdParty" )
407
- set (PCL_ALL_IN_ONE_INSTALLER ON )
408
- endif ()
409
406
elseif (EXISTS "${PCL_DIR} /include/pcl/pcl_config.h" )
410
407
# Found PCLConfig.cmake in a build tree of PCL
411
408
# pcl_message("PCL found into a build tree.")
You can’t perform that action at this time.
0 commit comments