Skip to content

Commit

Permalink
set the osx deployment target
Browse files Browse the repository at this point in the history
  • Loading branch information
abique committed Sep 23, 2024
1 parent d8eefcd commit e7e9f00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ cmake_policy(SET CMP0100 NEW) # handle .hh files
enable_testing()

set(CMAKE_MSVC_RUNTIME_LIBRARY MultiThreadedDLL)
set(CMAKE_OSX_DEPLOYMENT_TARGET 12.0)

project(CLAP_PLUGINS C CXX)

Expand Down
2 changes: 2 additions & 0 deletions vcpkg-overlay/triplets/arm64-osx-cp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ set(VCPKG_OSX_ARCHITECTURES arm64)
set(VCPKG_C_FLAGS_RELEASE "-Os -fomit-frame-pointer")
set(VCPKG_CXX_FLAGS_RELEASE "-Os -fomit-frame-pointer")

set(VCPKG_OSX_DEPLOYMENT_TARGET 12.0)

#if(NOT PORT MATCHES "harfbuzz")
# harfbuzz is badly packaged for now, so we also make the debug build
# https://github.com/microsoft/vcpkg/issues/22680
Expand Down

0 comments on commit e7e9f00

Please sign in to comment.