From f29f77bbdccf8b0b9f819aab26e78647b506824b Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Sun, 3 Oct 2021 22:44:15 +0200 Subject: [PATCH] MacOS fix 7 --- core/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index bbe63103..76fb685b 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 -static) else () target_compile_options(sdrpp_core PRIVATE -O3 -std=c++17) endif ()