Include vcpkg toolchain file in CMake configure step
This commit is contained in:
parent
8cafbdbaae
commit
45cc8d9f72
1 changed files with 4 additions and 0 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
Reference in a new issue