From 80a38c1e45722e8e9e2aaa39a995a1561981ffa7 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 13 May 2015 02:30:31 +0200 Subject: [PATCH] Updated Info.plist template file. --- ...leInfo.plist => MacOSXBundleInfo.plist.in} | 22 +++++++++---------- examples/CMakeLists.txt | 2 +- tests/CMakeLists.txt | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) rename CMake/{AppleInfo.plist => MacOSXBundleInfo.plist.in} (62%) diff --git a/CMake/AppleInfo.plist b/CMake/MacOSXBundleInfo.plist.in similarity index 62% rename from CMake/AppleInfo.plist rename to CMake/MacOSXBundleInfo.plist.in index b29cde10..684ad790 100644 --- a/CMake/AppleInfo.plist +++ b/CMake/MacOSXBundleInfo.plist.in @@ -5,34 +5,34 @@ CFBundleDevelopmentRegion English CFBundleExecutable - ${APPLE_GUI_EXECUTABLE} + ${MACOSX_BUNDLE_EXECUTABLE_NAME} CFBundleGetInfoString - ${APPLE_GUI_INFO_STRING} + ${MACOSX_BUNDLE_INFO_STRING} CFBundleIconFile - ${APPLE_GUI_ICON} + ${MACOSX_BUNDLE_ICON_FILE} CFBundleIdentifier - ${APPLE_GUI_IDENTIFIER} + ${MACOSX_BUNDLE_GUI_IDENTIFIER} CFBundleInfoDictionaryVersion 6.0 CFBundleLongVersionString - ${APPLE_GUI_LONG_VERSION_STRING} + ${MACOSX_BUNDLE_LONG_VERSION_STRING} CFBundleName - ${APPLE_GUI_BUNDLE_NAME} + ${MACOSX_BUNDLE_BUNDLE_NAME} CFBundlePackageType APPL CFBundleShortVersionString - ${APPLE_GUI_SHORT_VERSION_STRING} + ${MACOSX_BUNDLE_SHORT_VERSION_STRING} CFBundleSignature ???? CFBundleVersion - ${APPLE_GUI_BUNDLE_VERSION} + ${MACOSX_BUNDLE_BUNDLE_VERSION} CSResourcesFileMapped LSRequiresCarbon NSHumanReadableCopyright - ${APPLE_GUI_COPYRIGHT} - NSHighResolutionCapable - + ${MACOSX_BUNDLE_COPYRIGHT} + NSHighResolutionCapable + diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 1232279d..b33fd1fb 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -42,7 +42,7 @@ if (APPLE) set_target_properties(Boing Gears Heightmap Particles Simple SplitView Wave PROPERTIES FOLDER "GLFW3/Examples" - MACOSX_BUNDLE_INFO_PLIST "${GLFW_SOURCE_DIR}/CMake/AppleInfo.plist") + MACOSX_BUNDLE_INFO_PLIST "${GLFW_SOURCE_DIR}/CMake/MacOSXBundleInfo.plist.in") else() # Set boring names for executables diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 5386f588..ff0ecfb6 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -77,6 +77,6 @@ if (APPLE) set_target_properties(${WINDOWS_BINARIES} ${CONSOLE_BINARIES} PROPERTIES MACOSX_BUNDLE_SHORT_VERSION_STRING ${GLFW_VERSION} MACOSX_BUNDLE_LONG_VERSION_STRING ${GLFW_VERSION_FULL} - MACOSX_BUNDLE_INFO_PLIST "${GLFW_SOURCE_DIR}/CMake/AppleInfo.plist") + MACOSX_BUNDLE_INFO_PLIST "${GLFW_SOURCE_DIR}/CMake/MacOSXBundleInfo.plist.in") endif()