depends: boost: fix build

This commit is contained in:
tobtoht 2023-08-03 16:22:39 +02:00
parent 15656494f4
commit 63d2a97a58
No known key found for this signature in database
GPG key ID: E45B10DD027D2472

View 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)