From ccb2f3bcea5f4cbd7011cc4a299b5c7c6d423185 Mon Sep 17 00:00:00 2001 From: Pradeep Garigipati Date: Mon, 25 Mar 2024 13:27:57 +0530 Subject: [PATCH] try vcpkg toolchain file path --- .github/workflows/windows_build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/windows_build.yml b/.github/workflows/windows_build.yml index 11c4d82..1b2ca92 100644 --- a/.github/workflows/windows_build.yml +++ b/.github/workflows/windows_build.yml @@ -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 }}\vcpkg\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