Fix minimum Darwin version for targeting 10.15

This commit is contained in:
Nadia Holmquist Pedersen 2021-05-02 14:34:44 +02:00
parent 03bfbd2be7
commit b0e97b229e
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ if (APPLE)
set_source_files_properties("${CMAKE_SOURCE_DIR}/melon.icns" PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
# Qt 6 requires macOS 10.15 if building on 10.15 or greater
if(CMAKE_SYSTEM_VERSION VERSION_GREATER 18.5.0)
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()