Skip to content

Commit

Permalink
CMake: target older macOS
Browse files Browse the repository at this point in the history
The command line tools should not use things specific to recent macOS.
So they can run on older Intel macOS as well.
  • Loading branch information
robUx4 committed Jan 1, 2025
1 parent d852a34 commit ed61bf3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ed61bf3

Please sign in to comment.