mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-25 12:12:50 +00:00
Set macOS minimum version to macOS 11 Big Sur (#7196)
* Add minimum OS version to Info.plist Add minimum OS version key to info.plist using a MACOSX_MINIMUM_SYSTEM_VERSION var, which can be set in CMakeLists.txt * Set minumum OS to macOS 11 in CMakeLists.txt Set the MACOSX_MINIMUM_SYSTEM_VERSION to macOS 11 Big Sur, which I believe is the current minimum version * Use deployment target value rather than string Uses CMAKE_OSX_DEPLOYMENT_TARGET instead of a hardcoded string to set the minimum OS * Use deployment target global variable in Info.plist.in Using MACOSX_BUNDLE_MINIMUM_SYSTEM_VERSION does not work, as CMake leaves it blank * Update Qt CMakeLists.txt Don't set MACOSX_MINIMUM_SYSTEM_VERSION as CMake leaves this blank
This commit is contained in:
parent
98f17f8f04
commit
52254537b7
2
dist/apple/Info.plist.in
vendored
2
dist/apple/Info.plist.in
vendored
|
@ -21,6 +21,8 @@
|
||||||
<string>${MACOSX_BUNDLE_INFO_STRING}</string>
|
<string>${MACOSX_BUNDLE_INFO_STRING}</string>
|
||||||
<key>NSHumanReadableCopyright</key>
|
<key>NSHumanReadableCopyright</key>
|
||||||
<string>${MACOSX_BUNDLE_COPYRIGHT}</string>
|
<string>${MACOSX_BUNDLE_COPYRIGHT}</string>
|
||||||
|
<key>LSMinimumSystemVersion</key>
|
||||||
|
<string>${CMAKE_OSX_DEPLOYMENT_TARGET}</string>
|
||||||
<!-- Fixed -->
|
<!-- Fixed -->
|
||||||
<key>LSApplicationCategoryType</key>
|
<key>LSApplicationCategoryType</key>
|
||||||
<string>public.app-category.games</string>
|
<string>public.app-category.games</string>
|
||||||
|
|
Loading…
Reference in a new issue