mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-10-30 11:47:51 +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
1 changed files with 2 additions and 0 deletions
2
dist/apple/Info.plist.in
vendored
2
dist/apple/Info.plist.in
vendored
|
@ -21,6 +21,8 @@
|
|||
<string>${MACOSX_BUNDLE_INFO_STRING}</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string>${MACOSX_BUNDLE_COPYRIGHT}</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>${CMAKE_OSX_DEPLOYMENT_TARGET}</string>
|
||||
<!-- Fixed -->
|
||||
<key>LSApplicationCategoryType</key>
|
||||
<string>public.app-category.games</string>
|
||||
|
|
Loading…
Reference in a new issue