mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-12-27 03:18:30 +01:00
MacOS fix 7
This commit is contained in:
parent
91d960da3c
commit
f29f77bbdc
@ -18,7 +18,7 @@ add_library(sdrpp_core SHARED ${SRC})
|
|||||||
if (MSVC)
|
if (MSVC)
|
||||||
target_compile_options(sdrpp_core PRIVATE /O2 /Ob2 /std:c++17 /EHsc)
|
target_compile_options(sdrpp_core PRIVATE /O2 /Ob2 /std:c++17 /EHsc)
|
||||||
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
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 ()
|
else ()
|
||||||
target_compile_options(sdrpp_core PRIVATE -O3 -std=c++17)
|
target_compile_options(sdrpp_core PRIVATE -O3 -std=c++17)
|
||||||
endif ()
|
endif ()
|
||||||
|
Loading…
Reference in New Issue
Block a user