chore(cpn): guard the macOS bundle's minimum system version (#7740)

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Peter Feerick
2026-09-01 15:59:02 +10:00
committed by GitHub
co-authored by Claude Opus 5
parent 87e2329b6c
commit fbae71964a
6 changed files with 52 additions and 3 deletions
+2 -1
View File
@@ -30,8 +30,9 @@ else
fi
COMMON_OPTIONS="${COMMON_OPTIONS} -DCMAKE_BUILD_TYPE=Release -DCMAKE_MESSAGE_LOG_LEVEL=WARNING -Wno-dev"
# Qt 6.9's frameworks are macOS 12, so the bundle cannot start below that anyway.
if [ "$(uname)" = "Darwin" ]; then
COMMON_OPTIONS="${COMMON_OPTIONS} -DCMAKE_OSX_DEPLOYMENT_TARGET='11.0'"
COMMON_OPTIONS="${COMMON_OPTIONS} -DCMAKE_OSX_DEPLOYMENT_TARGET='12.0'"
fi
# find_package(... CONFIG) skips the lib/cmake/<Name> search pattern for prefixes that only