From 33ddf7886425e87339f64309a4562c3f46c82682 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 23 Apr 2023 01:09:41 +0200 Subject: [PATCH] set CMAKE_OSX_DEPLOYMENT_TARGET to build against an older version of MacOS (#337) --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8cd826459..57a235132 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,6 +2,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.14.0 FATAL_ERROR) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_C_STANDARD 99) +set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15") set(CMAKE_POSITION_INDEPENDENT_CODE ON)