diff --git a/CMakeLists.txt b/CMakeLists.txt index 0945b88b..a30aa0e4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,7 @@ cmake_minimum_required(VERSION 3.13) + +set(CMAKE_OSX_DEPLOYMENT_TARGET "" CACHE STRING "Minimum OS X deployment version" FORCE) + project(sdrpp) if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index 5f8b3c67..bbe63103 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -19,7 +19,6 @@ 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_link_options(sdrpp_core PRIVATE -mmacosx-version-min=10.10) else () target_compile_options(sdrpp_core PRIVATE -O3 -std=c++17) endif ()