Skip to content

Commit

Permalink
ci: macOS: try harder to have macOS 10.13 as the minver for qt5 x64.
Browse files Browse the repository at this point in the history
  • Loading branch information
adriweb committed Dec 26, 2024
1 parent ed27123 commit afb0329
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
8 changes: 7 additions & 1 deletion gui/qt/CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,13 @@
},
{
"name": "Mac-x64-Qt5",
"inherits": [ "Mac-x64-Qt6", "Qt5" ]
"inherits": [ "Mac-x64-Qt6", "Qt5" ],
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": {
"type": "STRING",
"value": "x64-osx-minver"
}
}
},
{
"name": "Mac-arm64-Qt5",
Expand Down
10 changes: 10 additions & 0 deletions gui/qt/triplets/x64-osx-minver-release.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
set(VCPKG_BUILD_TYPE release)
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)
set(VCPKG_OSX_DEPLOYMENT_TARGET 10.13)
set(VCPKG_C_FLAGS -mmacosx-version-min=10.13)
set(VCPKG_CXX_FLAGS -mmacosx-version-min=10.13)
set(VCPKG_BUILD_TYPE release)
9 changes: 9 additions & 0 deletions gui/qt/triplets/x64-osx-minver.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
set(VCPKG_BUILD_TYPE release)
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)
set(VCPKG_OSX_DEPLOYMENT_TARGET 10.13)
set(VCPKG_C_FLAGS -mmacosx-version-min=10.13)
set(VCPKG_CXX_FLAGS -mmacosx-version-min=10.13)

0 comments on commit afb0329

Please sign in to comment.