mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-02-03 21:34:44 +01:00
MacOS fix 5
This commit is contained in:
parent
b4e2875acd
commit
dd083b6634
@ -1,4 +1,7 @@
|
|||||||
cmake_minimum_required(VERSION 3.13)
|
cmake_minimum_required(VERSION 3.13)
|
||||||
|
|
||||||
|
set(CMAKE_OSX_DEPLOYMENT_TARGET "" CACHE STRING "Minimum OS X deployment version" FORCE)
|
||||||
|
|
||||||
project(sdrpp)
|
project(sdrpp)
|
||||||
|
|
||||||
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||||
|
@ -19,7 +19,6 @@ 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)
|
||||||
target_link_options(sdrpp_core PRIVATE -mmacosx-version-min=10.10)
|
|
||||||
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…
x
Reference in New Issue
Block a user