On 28.12.2015 06:50, Xi Shen wrote:
Strange, the FindBoost module expects boost libraries start with
"boost_" by default. But the libraries I got from the default build
configuration start with "libboost_". No wonder it did not work the
first I tried.
This somewhat depends on platform but as far as I remember e.g. on
Windows the Boost static libraries begin with "lib".
While the import libraries for the DLL version of the library do not.
To locate the static libraries you would e.g. set(Boost_USE_STATIC_LIBS
ON) before calling find_package() for Boost.
Nils
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake