diff --git a/CMakeLists.txt b/CMakeLists.txt index d3f94112..f0bd08bc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,7 +49,9 @@ if(STATIC) set(MANUAL_SUBMODULES 1) set(Boost_USE_STATIC_LIBS ON) - set(Boost_USE_STATIC_RUNTIME ON) + if (NOT CMAKE_SYSTEM_NAME STREQUAL "Darwin") + SET(Boost_USE_STATIC_RUNTIME ON) + endif() endif() include(CMakePackageConfigHelpers)