CMake: Fill version in bundle info plist
This commit is contained in:
@@ -225,8 +225,9 @@ if(WIN32)
|
||||
elseif(APPLE)
|
||||
# Don't generate a bundle for XCode, it makes code signing fail...
|
||||
if(NOT CMAKE_GENERATOR MATCHES "Xcode")
|
||||
get_scm_version()
|
||||
set(BUNDLE_PATH ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/DuckStation.app)
|
||||
set_target_properties(duckstation-qt PROPERTIES
|
||||
set_target_properties(duckstation-qt PROPERTIES
|
||||
MACOSX_BUNDLE true
|
||||
MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist.in
|
||||
OUTPUT_NAME DuckStation
|
||||
|
||||
@@ -33,8 +33,12 @@
|
||||
<string>English</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>${SCM_VERSION}</string>
|
||||
<key>CFBundleVersionString</key>
|
||||
<string>${SCM_VERSION}</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string>2019-2023 Connor McLaughlin <stenzek@gmail.com></string>
|
||||
<string>2019-2024 Connor McLaughlin <stenzek@gmail.com></string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>${CMAKE_OSX_DEPLOYMENT_TARGET}</string>
|
||||
<key>LSApplicationCategoryType</key>
|
||||
|
||||
Reference in New Issue
Block a user