mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-28 01:49:42 -06:00
Fix minimum Darwin version for targeting 10.15
This commit is contained in:
@ -136,7 +136,7 @@ if (APPLE)
|
|||||||
set_source_files_properties("${CMAKE_SOURCE_DIR}/melon.icns" PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
|
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
|
# 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)
|
if (USE_QT6)
|
||||||
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15" CACHE STRING "Minimum OS X deployment version" FORCE)
|
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15" CACHE STRING "Minimum OS X deployment version" FORCE)
|
||||||
endif()
|
endif()
|
||||||
|
Reference in New Issue
Block a user