Skip to content

Commit

Permalink
try vcpkg toolchain file path
Browse files Browse the repository at this point in the history
  • Loading branch information
9prady9 committed Mar 25, 2024
1 parent 2d68680 commit 027d4e3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/windows_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,16 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@master

- name: Setup vcpkg
uses: lukka/run-vcpkg@v11

- name: Configure and Build
env:
FG_TOOLKIT: ${{ matrix.window_toolkit }}
run: |
mkdir build && cd build
cmake `
-DCMAKE_TOOLCHAIN_FILE:FILEPATH="${{ github.workspace }}\scripts\buildsystems\vcpkg.cmake" `
-DFG_USE_WINDOW_TOOLKIT:STRING=$Env:FG_TOOLKIT ..
cmake --build . --parallel --target ALL_BUILD --config Release
cmake --build . --parallel --target INSTALL --config Release
Expand Down

0 comments on commit 027d4e3

Please sign in to comment.