Commit 67e6d9d2 authored by Urs Fleisch's avatar Urs Fleisch
Browse files

Mac OS X: Basic retina display support.

parent 76f5e8a5
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>${MACOSX_BUNDLE_BUNDLE_NAME}</string>
<key>CFBundleGetInfoString</key>
<string>${MACOSX_BUNDLE_INFO_STRING}</string>
<key>CFBundleIconFile</key>
<string>${MACOSX_BUNDLE_ICON_FILE}</string>
<key>CFBundleIdentifier</key>
<string>${MACOSX_BUNDLE_GUI_IDENTIFIER}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleLongVersionString</key>
<string>${MACOSX_BUNDLE_LONG_VERSION_STRING}</string>
<key>CFBundleName</key>
<string>${MACOSX_BUNDLE_BUNDLE_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>${MACOSX_BUNDLE_SHORT_VERSION_STRING}</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>${MACOSX_BUNDLE_BUNDLE_VERSION}</string>
<key>CSResourcesFileMapped</key>
<true/>
<key>LSRequiresCarbon</key>
<true/>
<key>NSHumanReadableCopyright</key>
<string>${MACOSX_BUNDLE_COPYRIGHT}</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSHighResolutionCapable</key>
<string>True</string>
</dict>
</plist>
...@@ -94,6 +94,13 @@ add_executable(${KID3_EXECUTABLE} MACOSX_BUNDLE WIN32 ...@@ -94,6 +94,13 @@ add_executable(${KID3_EXECUTABLE} MACOSX_BUNDLE WIN32
target_link_libraries(${KID3_EXECUTABLE} kid3-gui -lstdc++) target_link_libraries(${KID3_EXECUTABLE} kid3-gui -lstdc++)
if (APPLE)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/../../../macosx/Info.plist.in
${CMAKE_CURRENT_BINARY_DIR}/Info.plist)
set_target_properties(${KID3_EXECUTABLE} PROPERTIES
MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_BINARY_DIR}/Info.plist)
endif (APPLE)
install(TARGETS ${KID3_EXECUTABLE} install(TARGETS ${KID3_EXECUTABLE}
BUNDLE DESTINATION . BUNDLE DESTINATION .
RUNTIME DESTINATION ${WITH_BINDIR}) RUNTIME DESTINATION ${WITH_BINDIR})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment