mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-24 10:22:26 -04:00
Allow macOS 10.12 support as Qt 5.12 is OK with that
This commit is contained in:
parent
2088ad8597
commit
399baf6f83
@ -2,7 +2,7 @@ cmake_minimum_required (VERSION 2.8.10 FATAL_ERROR)
|
|||||||
|
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
#
|
#
|
||||||
# The following variables define the portability and compatability attributes of the Mac OS X build
|
# The following variables define the portability and compatability attributes of the Mac macOS build
|
||||||
# they are choosen with care and should not be changed without good cause.
|
# they are choosen with care and should not be changed without good cause.
|
||||||
#
|
#
|
||||||
# Among other things these options are chosen to match the portability and compatability options of the
|
# Among other things these options are chosen to match the portability and compatability options of the
|
||||||
@ -10,15 +10,15 @@ if (APPLE)
|
|||||||
#
|
#
|
||||||
# otool -l <binary> | grep -A3 LC_VERSION_MIN_MACOSX
|
# otool -l <binary> | grep -A3 LC_VERSION_MIN_MACOSX
|
||||||
#
|
#
|
||||||
set (CMAKE_OSX_DEPLOYMENT_TARGET 10.13
|
set (CMAKE_OSX_DEPLOYMENT_TARGET 10.12
|
||||||
CACHE STRING "Earliest version of OS X supported
|
CACHE STRING "Earliest version of macOS supported
|
||||||
|
|
||||||
Earliest version we can support with Qt 5.14, C++11 & libc++ is 10.13.
|
Earliest version we can support with Qt 5.12, C++11 & libc++ is 10.13.
|
||||||
Do not override this if you intend to build an official deployable installer.")
|
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
|
set (CMAKE_OSX_SYSROOT /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
|
||||||
CACHE STRING "Mac OS X SDK to build with
|
CACHE STRING "Mac OS X SDK to build with
|
||||||
|
|
||||||
Change this to the newest SDK available that you can install on your system (10.14 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.")
|
Do not override this if you intend to build an official deployable installer.")
|
||||||
endif (APPLE)
|
endif (APPLE)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user