From: tobtoht Date: Thu, 3 Aug 2023 14:22:39 +0000 (+0200) Subject: depends: boost: fix build X-Git-Url: https://git.nutra.tk/v2?a=commitdiff_plain;h=63d2a97a584a8d1aac84900f3d649e9517f1e728;p=gamesguru%2Ffeather.git depends: boost: fix build --- 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)