Set MacOS deployment target & vendor discord-rpc

This commit is contained in:
wheremyfoodat 2023-08-19 20:41:23 +03:00
parent 6f0fe0b15f
commit 2e5dc5da07
3 changed files with 3 additions and 2 deletions

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)