Merge pull request #38 from drizzt/boost_static
Force building with static boost (like the pre-built versions)
This commit is contained in:
commit
cc6f653990
1 changed files with 3 additions and 0 deletions
|
@ -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})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue