diff options
| author | OatmealDome <julian@oatmealdome.me> | 2025-04-22 23:40:37 -0400 |
|---|---|---|
| committer | OatmealDome <julian@oatmealdome.me> | 2025-04-22 23:40:37 -0400 |
| commit | 968b0cff4409492ec9aca8adee5e160edba64b9f (patch) | |
| tree | fed65008f47fc1d2ec575fb9fb2dd6b9335273f7 /BuildMacOSUniversalBinary.py | |
| parent | 116bd3a031079379b85b118e2a48c86d20e26084 (diff) | |
BuildMacOSUniversalBinary: Explicitly specify CMAKE_OSX_DEPLOYMENT_TARGET in CMake flags
If the build folder is created from an older commit and this flag is not set, the last value set for this flag will be used instead.
This is currently happening on our macOS build machine, causing macOS 10.15 to still be used as the deployment target.
Diffstat (limited to 'BuildMacOSUniversalBinary.py')
| -rwxr-xr-x | BuildMacOSUniversalBinary.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/BuildMacOSUniversalBinary.py b/BuildMacOSUniversalBinary.py index 3c1f68b05c..5eff0d0cfc 100755 --- a/BuildMacOSUniversalBinary.py +++ b/BuildMacOSUniversalBinary.py @@ -288,6 +288,7 @@ def build(config): "-DCMAKE_PREFIX_PATH="+prefix_path, "-DCMAKE_SYSTEM_PROCESSOR="+arch, "-DCMAKE_IGNORE_PATH="+ignore_path, + "-DCMAKE_OSX_DEPLOYMENT_TARGET=11.0.0", "-DMACOS_CODE_SIGNING_IDENTITY=" + config["codesign_identity"], '-DMACOS_CODE_SIGNING="ON"', |
