From 63d2a97a584a8d1aac84900f3d649e9517f1e728 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Thu, 3 Aug 2023 16:22:39 +0200 Subject: [PATCH] depends: boost: fix build --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d3f9411..f0bd08b 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)