Skip to content

Commit

Permalink
Add VCPKG configuration for Windows static build
Browse files Browse the repository at this point in the history
  • Loading branch information
ak5k committed Jan 3, 2024
1 parent b16e05b commit 4ae3a19
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@ jobs:
cmake -B ${{ github.workspace }} ^
-G "Ninja" ^
-DCMAKE_BUILD_TYPE=${{ matrix.win_build_type }} ^
-S ${{ github.workspace }}"
-S ${{ github.workspace }}" ^
-DVCPKG_TARGET_TRIPLET=${{matrix.arch}}-windows-static ^
-DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}\vcpkg\scripts\buildsystems\vcpkg.cmake
cmake --build ${{ github.workspace }} --config ${{ matrix.win_build_type }}
Expand Down

0 comments on commit 4ae3a19

Please sign in to comment.