From edce63bf6c4d937f6b4b879534c2282d2c634ae8 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Fri, 30 Oct 2020 11:53:39 +1000 Subject: [PATCH] CMake: Set macOS deployment target to 10.12 --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 861662dd0..7c3e1ed2e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,6 +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 "") # Global options. if(NOT ANDROID)