macOS: Bump minimum version to 10.15

This commit is contained in:
Nadia Holmquist Pedersen 2022-03-06 20:05:50 +01:00
parent 2af8e65f23
commit b1565ec87a
2 changed files with 1 additions and 8 deletions

View File

@ -8,7 +8,7 @@ if (POLICY CMP0076)
cmake_policy(SET CMP0076 NEW)
endif()
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.14" CACHE STRING "Minimum OS X deployment version")
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15" CACHE STRING "Minimum OS X deployment version")
project(melonDS CXX)

View File

@ -146,13 +146,6 @@ if (APPLE)
RESOURCE "${RESOURCE_FILES}")
# Qt 6 requires macOS 10.15 if building on 10.15 or greater
if(CMAKE_SYSTEM_VERSION VERSION_GREATER_EQUAL 19.0.0)
if (USE_QT6)
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15" CACHE STRING "Minimum OS X deployment version" FORCE)
endif()
endif()
option(MACOS_BUNDLE_LIBS "Bundle libraries with the app on macOS" OFF)
option(MACOS_BUILD_DMG "Build DMG image of the macOS application bundle" OFF)