From b0e97b229eab3ba106fcceba17621267c999ba08 Mon Sep 17 00:00:00 2001 From: Nadia Holmquist Pedersen Date: Sun, 2 May 2021 14:34:44 +0200 Subject: Fix minimum Darwin version for targeting 10.15 --- src/frontend/qt_sdl/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/frontend/qt_sdl/CMakeLists.txt b/src/frontend/qt_sdl/CMakeLists.txt index c2e53c4..66c2f4d 100644 --- a/src/frontend/qt_sdl/CMakeLists.txt +++ b/src/frontend/qt_sdl/CMakeLists.txt @@ -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() -- cgit v1.2.3