]> Nutra Git (v1) - gamesguru/feather.git/commitdiff
depends: boost: fix build
authortobtoht <tob@featherwallet.org>
Thu, 3 Aug 2023 14:22:39 +0000 (16:22 +0200)
committertobtoht <tob@featherwallet.org>
Thu, 3 Aug 2023 14:22:39 +0000 (16:22 +0200)
CMakeLists.txt

index d3f94112a68dc38f839ac9749638398a13c496ff..f0bd08bc92d41d4149ecda01f6ae556545443a74 100644 (file)
@@ -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)