Merge pull request #38 from drizzt/boost_static

Force building with static boost (like the pre-built versions)
This commit is contained in:
clemahieu 2017-01-24 10:15:56 -06:00 committed by GitHub
commit cc6f653990

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})