MacUpdater: Don't set bundle name via a CMake variable
This commit is contained in:
parent
d4e6bd9d18
commit
4883483d09
|
@ -12,14 +12,12 @@ set(SOURCES
|
||||||
|
|
||||||
add_executable(MacUpdater ${SOURCES})
|
add_executable(MacUpdater ${SOURCES})
|
||||||
|
|
||||||
set(MacUpdater_NAME "Dolphin Updater")
|
|
||||||
|
|
||||||
add_dependencies(MacUpdater dolphin_scmrev)
|
add_dependencies(MacUpdater dolphin_scmrev)
|
||||||
|
|
||||||
set_target_properties(MacUpdater PROPERTIES
|
set_target_properties(MacUpdater PROPERTIES
|
||||||
MACOSX_BUNDLE true
|
MACOSX_BUNDLE true
|
||||||
MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_BINARY_DIR}/Info.plist"
|
MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_BINARY_DIR}/Info.plist"
|
||||||
OUTPUT_NAME ${MacUpdater_NAME})
|
OUTPUT_NAME "Dolphin Updater")
|
||||||
|
|
||||||
target_compile_options(MacUpdater PRIVATE -x objective-c++)
|
target_compile_options(MacUpdater PRIVATE -x objective-c++)
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
<string>English</string>
|
<string>English</string>
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
<string>${MacUpdater_NAME}</string>
|
<string>Dolphin Updater</string>
|
||||||
<key>CFBundleIconFile</key>
|
<key>CFBundleIconFile</key>
|
||||||
<string>Dolphin.icns</string>
|
<string>Dolphin.icns</string>
|
||||||
<key>CFBundleIdentifier</key>
|
<key>CFBundleIdentifier</key>
|
||||||
|
|
Loading…
Reference in New Issue