build: target older macos

This commit is contained in:
Bruno Alexandre Rosa 2025-10-02 18:25:28 -03:00
parent 30e6b52783
commit f2645eb35d
3 changed files with 42 additions and 13 deletions

View file

@ -0,0 +1,12 @@
# copied from vcpkg/triplets/x64-osx.cmake
set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_LIBRARY_LINKAGE static)
set(VCPKG_CMAKE_SYSTEM_NAME Darwin)
set(VCPKG_OSX_ARCHITECTURES x86_64)
# end of copied code
# Set the minimum macOS version for all dependencies
set(VCPKG_CMAKE_SYSTEM_VERSION 13.0)
set(VCPKG_OSX_DEPLOYMENT_TARGET 13.0)