summary refs log tree commit diff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-03-10 01:28:19 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2023-03-10 01:51:55 +0100
commitda60aa8802a5f00a1590e3a3b518a19ba82beda1 (patch)
tree7800183372c41919a2958342989d7120d5576ea7 /CMakeLists.txt
parentMerge pull request #1388 from Nheko-Reborn/command (diff)
downloadnheko-da60aa8802a5f00a1590e3a3b518a19ba82beda1.tar.xz
Set macos deployment target in cmake list
relates to #1401
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 49bbe226..490136d3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,6 +21,7 @@ set(
 set(CMAKE_CXX_STANDARD 20 CACHE STRING "C++ standard")
 set(CMAKE_CXX_STANDARD_REQUIRED ON CACHE BOOL "Require C++ standard to be supported")
 set(CMAKE_POSITION_INDEPENDENT_CODE ON CACHE BOOL "compile as PIC by default")
+set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15" CACHE STRING "macos deployment target")
 
 option(HUNTER_ENABLED "Enable Hunter package manager" OFF)
 include("cmake/HunterGate.cmake")