From 45cc8d9f72b3a461c1b3aa36e9e260b8452c8c8f Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Mon, 7 Mar 2022 09:28:25 -0500 Subject: [PATCH] Include vcpkg toolchain file in CMake configure step --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d55c3a7..d3bbc25 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,6 +36,10 @@ jobs: if: matrix.os == 'ubuntu-latest' run: sudo apt install -f vulkan-sdk libsdl2-dev - name: Configure + if: matrix.os != 'windows-latest' run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release + - name: Configure (Windows) + if: matrix.os == 'windows-latest' + run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake - name: Build run: cmake --build build --target all -v