mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-11-06 02:37:32 +01:00
Potential fix for MacOS ci
This commit is contained in:
parent
73393e36c6
commit
fcd759654c
@ -18,7 +18,8 @@ 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 -Wno-unused-command-line-argument -undefined dynamic_lookup)
|
||||
target_compile_options(sdrpp_core PRIVATE $<$<COMPILE_LANGUAGE:CXX>:-std=c++17>)
|
||||
else ()
|
||||
target_compile_options(sdrpp_core PRIVATE -O3 -std=c++17)
|
||||
endif ()
|
||||
|
Loading…
Reference in New Issue
Block a user