Skip to content

Commit

Permalink
github: match deployment target to version vcpkg built with
Browse files Browse the repository at this point in the history
Should fix the following warnings
ld: warning: object file (LIB) was built for newer macOS version (12.7) than being linked (12.0)
  • Loading branch information
ahayzen-kdab committed Jan 4, 2024
1 parent 3556e4b commit ce7bb3f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/github-cxx-qt-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ jobs:
runs-on: ${{ matrix.os }}
name: ${{ matrix.name }}
env:
# Match the deployment target that Qt was built with via vcpkg, otherwise the following error occurs
# ld: warning: object file (LIB) was built for newer macOS version (12.7) than being linked (12.0)
MACOSX_DEPLOYMENT_TARGET: 12.7
# sccache is around 250-350M in size for a normal build
# set the cache size to double of this to leave some headroom
# but don't expand too large as we cache old data and cause cache evictions
Expand Down

0 comments on commit ce7bb3f

Please sign in to comment.