diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index 4d595163..a955b18e 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -18,7 +18,7 @@ add_library(sdrpp_core SHARED ${SRC}) if (MSVC) target_compile_options(sdrpp_core PRIVATE /O2 /Ob2 /std:c++17 /EHsc) elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") - target_compile_options(sdrpp_core PRIVATE -O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) + target_compile_options(sdrpp_core PRIVATE -O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup -mmacosx-version-min=10.10) else () target_compile_options(sdrpp_core PRIVATE -O3 -std=c++17) endif () @@ -99,10 +99,6 @@ else() target_link_libraries(sdrpp_core PUBLIC stdc++fs) endif () - if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") - target_compile_options(sdrpp_core PRIVATE -static) - endif () - endif () set(CORE_FILES ${RUNTIME_OUTPUT_DIRECTORY} PARENT_SCOPE)