Skip to content

Commit

Permalink
osx: Set min deployment target to 11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dchengTSC committed Aug 29, 2023
1 parent 6e072d9 commit c3af5cf
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions triplets/community/arm64-osx-dynamic-release.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ set(VCPKG_CMAKE_SYSTEM_NAME Darwin)
set(VCPKG_OSX_ARCHITECTURES arm64)

set(VCPKG_BUILD_TYPE release)

set(VCPKG_C_FLAGS -mmacosx-version-min=11.0)
set(VCPKG_CXX_FLAGS -mmacosx-version-min=11.0)
set(VCPKG_LINKER_FLAGS -mmacosx-version-min=11.0)
4 changes: 4 additions & 0 deletions triplets/community/arm64-osx-static-release.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ set(VCPKG_CMAKE_SYSTEM_NAME Darwin)
set(VCPKG_OSX_ARCHITECTURES arm64)

set(VCPKG_BUILD_TYPE release)

set(VCPKG_C_FLAGS -mmacosx-version-min=11.0)
set(VCPKG_CXX_FLAGS -mmacosx-version-min=11.0)
set(VCPKG_LINKER_FLAGS -mmacosx-version-min=11.0)
3 changes: 3 additions & 0 deletions triplets/community/x64-osx-dynamic-release.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ set(VCPKG_CMAKE_SYSTEM_NAME Darwin)
set(VCPKG_OSX_ARCHITECTURES x86_64)
set(VCPKG_BUILD_TYPE release)

set(VCPKG_C_FLAGS -mmacosx-version-min=11.0)
set(VCPKG_CXX_FLAGS -mmacosx-version-min=11.0)
set(VCPKG_LINKER_FLAGS -mmacosx-version-min=11.0)
3 changes: 3 additions & 0 deletions triplets/community/x64-osx-static-release.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ set(VCPKG_CMAKE_SYSTEM_NAME Darwin)
set(VCPKG_OSX_ARCHITECTURES x86_64)
set(VCPKG_BUILD_TYPE release)

set(VCPKG_C_FLAGS -mmacosx-version-min=11.0)
set(VCPKG_CXX_FLAGS -mmacosx-version-min=11.0)
set(VCPKG_LINKER_FLAGS -mmacosx-version-min=11.0)

0 comments on commit c3af5cf

Please sign in to comment.