diff --git a/CMakeLists.txt b/CMakeLists.txt index 8076362d7..93701abf6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,6 +14,7 @@ set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH};${CMAKE_CURRENT_SOURCE_DIR}/cmake_mo # configure C++17 set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_EXTENSIONS OFF) +set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15" CACHE STRING "Minimum OS X deployment version") # keyvi specific compile options, definitions and flags set (_KEVYI_COMPILE_OPTIONS "-Wall") @@ -29,7 +30,6 @@ set (_OS_LIBRARIES "") # OSX specifics if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") set (_KEYVI_COMPILE_DEFINITIONS "${_KEYVI_COMPILE_DEFINITIONS} OS_MACOSX") - set (_KEYVI_CXX_FLAGS "${_KEYVI_CXX_FLAGS} -mmacosx-version-min=10.9") endif() # build type specific settings