Skip to content

Commit ccb2f3b

Browse files
committed
try vcpkg toolchain file path
1 parent 2d68680 commit ccb2f3b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/windows_build.yml

+4
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,16 @@ jobs:
2323
- name: Checkout Repository
2424
uses: actions/checkout@master
2525

26+
- name: Setup vcpkg
27+
uses: lukka/run-vcpkg@v11
28+
2629
- name: Configure and Build
2730
env:
2831
FG_TOOLKIT: ${{ matrix.window_toolkit }}
2932
run: |
3033
mkdir build && cd build
3134
cmake `
35+
-DCMAKE_TOOLCHAIN_FILE:FILEPATH="${{ github.workspace }}\vcpkg\scripts\buildsystems\vcpkg.cmake" `
3236
-DFG_USE_WINDOW_TOOLKIT:STRING=$Env:FG_TOOLKIT ..
3337
cmake --build . --parallel --target ALL_BUILD --config Release
3438
cmake --build . --parallel --target INSTALL --config Release

0 commit comments

Comments
 (0)