Update build script to macOS minimum version of 10.13

This commit is contained in:
Bill Somerville 2020-05-07 17:42:14 +01:00
parent 64fb919bed
commit 97078eb8df
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F

View File

@ -10,15 +10,15 @@ if (APPLE)
#
# otool -l <binary> | grep -A3 LC_VERSION_MIN_MACOSX
#
set (CMAKE_OSX_DEPLOYMENT_TARGET 10.10
set (CMAKE_OSX_DEPLOYMENT_TARGET 10.13
CACHE STRING "Earliest version of OS X supported
Earliest version we can support with Qt 5.8, C++11 & libc++ is 10.10.
Earliest version we can support with Qt 5.14, C++11 & libc++ is 10.13.
Do not override this if you intend to build an official deployable installer.")
set (CMAKE_OSX_SYSROOT /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
CACHE STRING "Mac OS X SDK to build with
Change this to the newest SDK available that you can install on your system (10.11 preferred).
Change this to the newest SDK available that you can install on your system (10.14 preferred).
Do not override this if you intend to build an official deployable installer.")
endif (APPLE)