On 11/14/16 5:36 AM, David Demelier wrote:
I spent some time getting CMake to work with with boost libraries.
My conclusions is that FindBoost can be relied upon only for header only
libraries. To used build libraries, you'll have to explicitly set the
specific library variable to the path where the library is located.
For example, in order to link with the boost.filesystem library debug
version I set
Boost_FILESYSTEM_LIBRARY_DEBUG to
/Users/robertramey/WorkingProjects/modular-boost/stage/lib/Debug/libboost_filesystem-clang-darwin-mt-d-1_62.a
I haven't tried with with shard libraries.
Basically, FindBoost needs some improvement before it can be expected to
automagically find libraries to link to.
Robert Ramey
--
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