From 82e19f71883dee9197879106a3832708ca2f87ac Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sat, 31 Oct 2020 14:29:11 +1000 Subject: [PATCH] Build: Set macOS deployment target to 10.14 --- .github/workflows/rolling-release.yml | 2 ++ CMakeLists.txt | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rolling-release.yml b/.github/workflows/rolling-release.yml index 0baea6acd..24da77020 100644 --- a/.github/workflows/rolling-release.yml +++ b/.github/workflows/rolling-release.yml @@ -255,6 +255,7 @@ jobs: run: | mkdir build cd build + export MACOSX_DEPLOYMENT_TARGET=10.14 cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SDL_FRONTEND=OFF -DBUILD_QT_FRONTEND=ON -DUSE_SDL2=ON -DQt5_DIR=/usr/local/opt/qt/lib/cmake/Qt5 .. cmake --build . --parallel 2 cd bin @@ -271,6 +272,7 @@ jobs: run: | mkdir build-libretro cd build-libretro + export MACOSX_DEPLOYMENT_TARGET=10.14 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release -DBUILD_LIBRETRO_CORE=ON .. cmake --build . --parallel 2 zip -j duckstation_libretro_mac.dylib.zip duckstation_libretro.dylib diff --git a/CMakeLists.txt b/CMakeLists.txt index 7c3e1ed2e..0da6405ed 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,8 +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 "") +# Set minimum OS version for macOS. 10.14 should work. +set(CMAKE_OSX_DEPLOYMENT_TARGET "10.14.0" CACHE STRING "") # Global options. if(NOT ANDROID)