Merge pull request #211 from wheremyfoodat/wheremyfoodat-patch-3

Set MacOS deployment target
This commit is contained in:
wheremyfoodat
2023-08-20 00:51:15 +03:00
committed by GitHub
3 changed files with 3 additions and 2 deletions

2
.gitmodules vendored
View File

@@ -33,4 +33,4 @@
url = https://github.com/g-truc/glm
[submodule "third_party/discord-rpc"]
path = third_party/discord-rpc
url = https://github.com/discord/discord-rpc
url = https://github.com/Panda3DS-emu/discord-rpc

View File

@@ -1,5 +1,6 @@
# We need to be able to use enable_language(OBJC) on Mac, so we need CMake 3.16 vs the 3.10 we use otherwise. Blame Apple.
if (APPLE)
set(CMAKE_OSX_DEPLOYMENT_TARGET "11.0" CACHE STRING "Minimum OS X deployment version")
cmake_minimum_required(VERSION 3.16)
else()
cmake_minimum_required(VERSION 3.10)