Merge pull request #570 from lluixhi/boost

Enable building against dynamically-linked Boost
This commit is contained in:
Takatoshi Kondo
2017-03-05 13:02:14 +09:00
committed by GitHub

View File

@@ -94,7 +94,6 @@ IF (MSGPACK_BOOST)
SET (CMAKE_CXX_FLAGS "-DMSGPACK_USE_BOOST ${CMAKE_CXX_FLAGS}")
ENDIF ()
SET (Boost_USE_STATIC_LIBS ON) # only find static libs
SET (Boost_USE_MULTITHREADED ON)
SET (Boost_USE_STATIC_RUNTIME OFF)
FIND_PACKAGE (Boost COMPONENTS chrono context timer system)