From 7bb528d38713d775b30a7d7762f916962cea860f Mon Sep 17 00:00:00 2001 From: Hendrik Muhs Date: Tue, 18 Jun 2024 21:47:08 +0200 Subject: [PATCH] up the minimum macos requirement for std::filesystem --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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