CMake: Set macOS deployment target to 10.12

This commit is contained in:
Connor McLaughlin 2020-10-30 11:53:39 +10:00 committed by GitHub
parent 70fa41431b
commit edce63bf6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,8 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
set(SUPPORTS_WAYLAND TRUE)
endif()
# Set minimum OS version for macOS. 10.12 should work.
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.12.0" CACHE STRING "")
# Global options.
if(NOT ANDROID)