mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-02 06:59:44 +01:00
On macOS, use default SDK if version 10.9 is not installed.
This commit is contained in:
parent
3011911f80
commit
1a6ce2617a
1 changed files with 2 additions and 1 deletions
|
@ -11,7 +11,8 @@ IF(APPLE)
|
|||
IF(IS_DIRECTORY ${OSX_10_9_SDK_PATH})
|
||||
SET(CMAKE_OSX_SYSROOT ${OSX_10_9_SDK_PATH})
|
||||
ELSE()
|
||||
MESSAGE(WARNING "macOS 10.9 SDK not found, expect badness!")
|
||||
MESSAGE(WARNING "macOS 10.9 SDK not found - proceeding with the default SDK. This may cause issues!")
|
||||
SET(CMAKE_OSX_SYSROOT /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk)
|
||||
ENDIF()
|
||||
MESSAGE(STATUS "Using macOS SDK at ${CMAKE_OSX_SYSROOT}")
|
||||
SET(CMAKE_OSX_DEPLOYMENT_TARGET 10.9)
|
||||
|
|
Loading…
Reference in a new issue