From: Neal Gompa Date: Sun, 11 Dec 2016 21:02:29 +0000 (-0500) Subject: Adjust macOS build information to new minimum OS version X-Git-Url: https://git.jsancho.org/?p=lugaru.git;a=commitdiff_plain;h=3326a4860ff8b052e7abfe86698ce7e51cfc441a Adjust macOS build information to new minimum OS version --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 6faa895..2e5c4a6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,9 +27,9 @@ set(CMAKE_CXX_FLAGS "-Wall -Wno-parentheses -pedantic --std=c++11 ${CMAKE_CXX_FL if(APPLE) set(CMAKE_OSX_ARCHITECTURES "x86_64" CACHE STRING "Build architectures for OSX") - set(CMAKE_OSX_DEPLOYMENT_TARGET "10.10" CACHE STRING + set(CMAKE_OSX_DEPLOYMENT_TARGET "10.11" CACHE STRING "Minimum OS X version to target for deployment (at runtime); newer APIs weak linked. Set to empty string for default value") - set(CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX10.10.sdk" CACHE PATH + set(CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX10.11.sdk" CACHE PATH "The product will be built against the headers and libraries located inside the indicated SDK.") endif(APPLE) @@ -282,7 +282,7 @@ endif(LINUX) if(APPLE) install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/lugaru DESTINATION ${LUGARU_BINDIR}) install(DIRECTORY ${CMAKE_SOURCE_DIR}/Data DESTINATION ${LUGARU_APP_ROOT}) - install(FILES ${CMAKE_SOURCE_DIR}/Dist/OSX/lugaru.icns DESTINATION ${LUGARU_RESDIR}) + install(FILES ${CMAKE_SOURCE_DIR}/Dist/OSX/Lugaru.icns DESTINATION ${LUGARU_RESDIR}) install(FILES ${CMAKE_SOURCE_DIR}/Dist/OSX/Info.plist DESTINATION ${LUGARU_APP_ROOT}/Contents) endif(APPLE) diff --git a/Dist/OSX/Info.plist b/Dist/OSX/Info.plist index dccd26b..ae70315 100644 --- a/Dist/OSX/Info.plist +++ b/Dist/OSX/Info.plist @@ -7,7 +7,7 @@ CFBundleExecutable lugaru CFBundleIconFile - lugaru.icns + Lugaru.icns CFBundleIdentifier com.wolfire.Lugaru CFBundleInfoDictionaryVersion @@ -21,7 +21,7 @@ CFBundleShortVersionString 1.1 LSMinimumSystemVersion - 10.5.0 + 10.11.0 CFBundleVersion 1 NSMainNibFile diff --git a/Dist/OSX/Lugaru.icns b/Dist/OSX/Lugaru.icns new file mode 100644 index 0000000..b3c918a Binary files /dev/null and b/Dist/OSX/Lugaru.icns differ diff --git a/Dist/OSX/lugaru.icns b/Dist/OSX/lugaru.icns deleted file mode 100644 index b3c918a..0000000 Binary files a/Dist/OSX/lugaru.icns and /dev/null differ