build: cmake Xcode recommended build settings (#4931)

This commit is contained in:
Cœur
2023-04-14 22:57:49 +08:00
committed by GitHub
parent 63421489fe
commit 97352a60ad

View File

@@ -3,6 +3,9 @@ cmake_minimum_required(VERSION 3.12 FATAL_ERROR)
if(POLICY CMP0092)
cmake_policy(SET CMP0092 NEW)
endif()
if(POLICY CMP0114)
cmake_policy(SET CMP0114 NEW)
endif()
# Value should follow latest stable Xcode's RECOMMENDED_MACOSX_DEPLOYMENT_TARGET
set(MACOS_SUPPORT_MINIMUM 10.13)