- properly set up info.plist for macOS

This commit is contained in:
Christoph Oelckers 2020-01-20 00:24:25 +01:00
parent bd1523ef2d
commit d7d5da93f6
2 changed files with 5 additions and 8 deletions

View file

@ -985,7 +985,7 @@ if( APPLE )
set_target_properties(${PROJECT_NAME} PROPERTIES set_target_properties(${PROJECT_NAME} PROPERTIES
LINK_FLAGS "${LINK_FRAMEWORKS}" LINK_FLAGS "${LINK_FRAMEWORKS}"
MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/posix/osx/${PROJECT_NAME}-info.plist" ) MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/platform/posix/osx/${PROJECT_NAME}-info.plist" )
# Dymanic libraries like libvulkan.dylib or libMoltenVK.dylib will be loaded by dlopen() # Dymanic libraries like libvulkan.dylib or libMoltenVK.dylib will be loaded by dlopen()
# if placed in the directory with the main executable # if placed in the directory with the main executable

View file

@ -9,11 +9,11 @@
<key>CFBundleIconFile</key> <key>CFBundleIconFile</key>
<string>zdoom.icns</string> <string>zdoom.icns</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
<string>org.drdteam.gzdoom</string> <string>org.drdteam.raze</string>
<key>CFBundleInfoDictionaryVersion</key> <key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string> <string>6.0</string>
<key>CFBundleName</key> <key>CFBundleName</key>
<string>GZDoom</string> <string>Raze</string>
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
@ -28,19 +28,16 @@
<array> <array>
<dict> <dict>
<key>CFBundleTypeName</key> <key>CFBundleTypeName</key>
<string>Doom Resource File</string> <string>Build Engine Resource File</string>
<key>CFBundleTypeRole</key> <key>CFBundleTypeRole</key>
<string>Viewer</string> <string>Viewer</string>
<key>CFBundleTypeExtensions</key> <key>CFBundleTypeExtensions</key>
<array> <array>
<string>wad</string> <string>grp</string>
<string>pk3</string> <string>pk3</string>
<string>zip</string> <string>zip</string>
<string>pk7</string> <string>pk7</string>
<string>7z</string> <string>7z</string>
<string>iwad</string>
<string>ipk3</string>
<string>ipk7</string>
</array> </array>
</dict> </dict>
</array> </array>