Skip to content

Commit

Permalink
Merge pull request #1678 from jspricke/change_pcl_root
Browse files Browse the repository at this point in the history
Correct PCL_ROOT in PCLConfig.cmake
  • Loading branch information
SergioRAgostinho authored Aug 17, 2016
2 parents 536777a + 6dbfb46 commit d0b25a8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions PCLConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -721,8 +721,7 @@ if(WIN32 AND NOT MINGW)
get_filename_component(PCL_ROOT "${PCL_DIR}" PATH)
else(WIN32 AND NOT MINGW)
# PCLConfig.cmake is installed to PCL_ROOT/share/pcl-x.y
get_filename_component(PCL_ROOT "${PCL_DIR}" PATH)
get_filename_component(PCL_ROOT "${PCL_ROOT}" PATH)
set(PCL_ROOT "@CMAKE_INSTALL_PREFIX@")
endif(WIN32 AND NOT MINGW)

# check whether PCLConfig.cmake is found into a PCL installation or in a build tree
Expand Down

0 comments on commit d0b25a8

Please sign in to comment.