mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-04 04:23:55 -07:00
build: use vcpkg for most dependencies on macos (#6170)
* build: use vcpkg for most dependencies on macos * factor out common params * refactor: factor out common parameters in macOS matrix * use env vars instead of matrix * add comment about jianmingyong/ccache-action * Remove unused 'qt_tools' param * Use system python * Let ccache caches be handled by ccache-action * Add comment about why we use install-qt-action * set unique ccache key * nit * fix cache prefix * pass gh-token * Revert "pass gh-token" This reverts commitcadfa253c6. * Reapply "pass gh-token" This reverts commitbd15e96e18. * do not cache qt on macos
This commit is contained in:
parent
d31b044529
commit
5fa06746f1
2 changed files with 35 additions and 29 deletions
|
|
@ -48,8 +48,8 @@ if(USE_CCACHE)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
# Use vcpkg toolchain on Windows
|
||||
if(WIN32 OR APPLE)
|
||||
# Use vcpkg toolchain on Windows and macOS
|
||||
set(CMAKE_TOOLCHAIN_FILE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/vcpkg/scripts/buildsystems/vcpkg.cmake
|
||||
CACHE STRING "Vcpkg toolchain file"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue