mirror of
https://github.com/chris2511/xca.git
synced 2026-09-12 19:51:05 +05:00
Support different OSX SDK versions as LSMinimumSystemVersion
Also reduce the minimum SDK to 10.15 for the official build.
This commit is contained in:
parent
84b4c3b73a
commit
23a044f5ea
@ -15,6 +15,9 @@ cmake_host_system_information(RESULT OS_DATA_LIST QUERY
|
||||
list(JOIN OS_DATA_LIST " -- " OS_DATA)
|
||||
message(STATUS ${OS_DATA})
|
||||
|
||||
string(REGEX MATCH "([0-9]+\.[0-9]+\.[0-9]+)" OSX_SDK_MINIMUM
|
||||
${CMAKE_OSX_DEPLOYMENT_TARGET} ".0.0.0")
|
||||
|
||||
include(GNUInstallDirs)
|
||||
|
||||
##### Git command to tweak the version and commit hash
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
<key>LSApplicationCategoryType</key>
|
||||
<string>public.app-category.utilities</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>@CMAKE_OSX_DEPLOYMENT_TARGET@.0.0</string>
|
||||
<string>@OSX_SDK_MINIMUM@</string>
|
||||
<key>ITSAppUsesNonExemptEncryption</key>
|
||||
<string>no</string>
|
||||
<key>CFBundleLocalizations</key>
|
||||
|
||||
@ -71,7 +71,7 @@ BUILDDIR="$TOP_DIR/osx-release-dmg"
|
||||
BUILDDIR_APPSTORE="$TOP_DIR/osx-release-appstore"
|
||||
|
||||
INSTALL_DIR="$TOP_DIR/install"
|
||||
SDK="11"
|
||||
SDK="10.15"
|
||||
JOBS=7
|
||||
|
||||
cd $TOP_DIR
|
||||
|
||||
Loading…
Reference in New Issue
Block a user