From 5262551e1d692cad5796c05503bc50aec4307bb2 Mon Sep 17 00:00:00 2001 From: Dan Paulat Date: Tue, 17 Jun 2025 23:39:36 -0500 Subject: [PATCH] Set a macOS deployment target of 12.0 --- CMakeLists.txt | 2 ++ tools/conan/profiles/scwx-macos_clang-18 | 1 + tools/conan/profiles/scwx-macos_clang-18_armv8 | 1 + 3 files changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7a2da515..d04b97fe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,6 +3,8 @@ set(PROJECT_NAME supercell-wx) include(tools/scwx_config.cmake) +set(CMAKE_OSX_DEPLOYMENT_TARGET 12.0) + scwx_python_setup() project(${PROJECT_NAME} diff --git a/tools/conan/profiles/scwx-macos_clang-18 b/tools/conan/profiles/scwx-macos_clang-18 index 70889284..f7a5b0ce 100644 --- a/tools/conan/profiles/scwx-macos_clang-18 +++ b/tools/conan/profiles/scwx-macos_clang-18 @@ -6,3 +6,4 @@ compiler.cppstd=20 compiler.libcxx=libc++ compiler.version=18 os=Macos +os.version=12.0 diff --git a/tools/conan/profiles/scwx-macos_clang-18_armv8 b/tools/conan/profiles/scwx-macos_clang-18_armv8 index 63c6d597..65d9afd4 100644 --- a/tools/conan/profiles/scwx-macos_clang-18_armv8 +++ b/tools/conan/profiles/scwx-macos_clang-18_armv8 @@ -6,3 +6,4 @@ compiler.cppstd=20 compiler.libcxx=libc++ compiler.version=18 os=Macos +os.version=12.0