From a01b86fee7bf888931735285087117688498bb66 Mon Sep 17 00:00:00 2001 From: shun-iwasawa Date: Apr 20 2017 03:47:24 +0000 Subject: set info.plist for retina display --- diff --git a/toonz/cmake/BundleInfo.plist.in b/toonz/cmake/BundleInfo.plist.in new file mode 100644 index 0000000..f23c468 --- /dev/null +++ b/toonz/cmake/BundleInfo.plist.in @@ -0,0 +1,38 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + OpenToonz_1.1 + CFBundleGetInfoString + + CFBundleIconFile + OpenToonz.icns + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleLongVersionString + + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + + CSResourcesFileMapped + + LSRequiresCarbon + + NSHighResolutionCapable + + NSHumanReadableCopyright + + + diff --git a/toonz/sources/CMakeLists.txt b/toonz/sources/CMakeLists.txt index 246c786..ee224da 100644 --- a/toonz/sources/CMakeLists.txt +++ b/toonz/sources/CMakeLists.txt @@ -538,4 +538,6 @@ if(APPLE) ${CMAKE_INSTALL_NAME_TOOL} -add_rpath ${CMAKE_INSTALL_RPATH} $ ) + # add capability for retina displays + set_target_properties(OpenToonz_1.1 PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_SOURCE_DIR}/../cmake/BundleInfo.plist.in) endif()