From fb5cea6ec0c844abd3b66fa90fa5f89ce69b611a Mon Sep 17 00:00:00 2001 From: Steve Lhomme Date: Wed, 1 Jan 2025 13:11:16 +0100 Subject: [PATCH] CMake: target older macOS The command line tools should not use things specific to recent macOS. So they can run on older Intel macOS as well. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 703925eb..fee3b6b3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,6 +5,8 @@ project("foundation sources") option(CONFIG_MATROSKA2 "Build libmatroska2 and tools" ON) option(DEV_MODE "Developer mode with extra compilation checks" OFF) +set(CMAKE_OSX_DEPLOYMENT_TARGET 10.11) + include(CheckCCompilerFlag) include(CMakeParseArguments) function(add_c_flag_if_supported)