diff --git a/triplets/community/arm64-osx-dynamic-release.cmake b/triplets/community/arm64-osx-dynamic-release.cmake index 4969e08bb91a58..51f35abf29a029 100644 --- a/triplets/community/arm64-osx-dynamic-release.cmake +++ b/triplets/community/arm64-osx-dynamic-release.cmake @@ -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) diff --git a/triplets/community/arm64-osx-static-release.cmake b/triplets/community/arm64-osx-static-release.cmake index 7848620d8f6934..7f74727d56f7cc 100644 --- a/triplets/community/arm64-osx-static-release.cmake +++ b/triplets/community/arm64-osx-static-release.cmake @@ -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) diff --git a/triplets/community/x64-osx-dynamic-release.cmake b/triplets/community/x64-osx-dynamic-release.cmake index ef61b62f0adfd2..57ee3b00dd90bd 100644 --- a/triplets/community/x64-osx-dynamic-release.cmake +++ b/triplets/community/x64-osx-dynamic-release.cmake @@ -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) diff --git a/triplets/community/x64-osx-static-release.cmake b/triplets/community/x64-osx-static-release.cmake index 316f87f7b6086f..467c016a6bece1 100644 --- a/triplets/community/x64-osx-static-release.cmake +++ b/triplets/community/x64-osx-static-release.cmake @@ -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)