Force building with static boost (like the pre-built versions)

This commit is contained in:
Timothy Redaelli 2017-01-24 11:38:30 +01:00
commit b88af6d39f

View file

@ -39,6 +39,9 @@ endif (WIN32)
include_directories (${CMAKE_SOURCE_DIR})
set(Boost_USE_STATIC_LIBS ON)
set(Boost_USE_MULTITHREADED ON)
set(Boost_USE_STATIC_RUNTIME ON)
find_package (Boost 1.57.0 REQUIRED COMPONENTS filesystem system log log_setup thread program_options regex chrono atomic)
include_directories (${Boost_INCLUDE_DIR})