Commit 632e3fc0 authored by Nicolas Cadart's avatar Nicolas Cadart
Browse files

Restore Boost_LIBRARY_DIR* variables in PCL CMake configuration

These variables should not be necessary, as BOOST_LIBRARYDIR is properly set.
It works as is on MacOS and Windows.
For some reason, on Linux, PCL still finds and uses the system Boost, ignoring these variables.
Boost_LIBRARY_DIR_DEBUG and Boost_LIBRARY_DIR_Release variables should be filled by CMake according to the BOOST_LIBRARYDIR hint.
By directly setting these variables, we ensure using the correct superbuild Boost libs.
parent c47134bb
......@@ -10,6 +10,8 @@ superbuild_add_project(pcl
-DBoost_USE_STATIC_LIBS:BOOL=OFF
-DPCL_BUILD_WITH_BOOST_DYNAMIC_LINKING_WIN32:BOOL=ON
-DBOOST_LIBRARYDIR:PATH=<INSTALL_DIR>/lib
-DBoost_LIBRARY_DIR_DEBUG:PATH=<INSTALL_DIR>/lib
-DBoost_LIBRARY_DIR_RELEASE:PATH=<INSTALL_DIR>/lib
-DEIGEN_INCLUDE_DIR=<INSTALL_DIR>/include/eigen3
-DQHULL_LIBRARY:FILEPATH=<INSTALL_DIR>/lib/${CMAKE_STATIC_LIBRARY_PREFIX}qhullstatic${CMAKE_STATIC_LIBRARY_SUFFIX}
-DQHULL_LIBRARY_DEBUG:FILEPATH=<INSTALL_DIR>/lib/${CMAKE_STATIC_LIBRARY_PREFIX}qhullstatic${CMAKE_STATIC_LIBRARY_SUFFIX}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment