Archived
1
Fork 0

Include vcpkg toolchain file in CMake configure step

This commit is contained in:
Joshua Goins 2022-03-07 09:28:25 -05:00
parent 8cafbdbaae
commit 45cc8d9f72

View file

@ -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