chore: Add -DCMAKE_TOOLCHAIN_FILE to the cmake configure step of the github workflow

This commit is contained in:
Dennis Hezel 2021-10-17 12:11:41 +02:00
parent df1f82b708
commit ace2ab8197

View file

@ -46,7 +46,7 @@ jobs:
vcpkgTriplet: ${{ matrix.config.triplet }}
- name: Configure CMake
run: cmake -B ${{ github.workspace }}/build ${{ env.CMAKE_ARGS }}
run: cmake -B ${{ github.workspace }}/build -DCMAKE_TOOLCHAIN_FILE=${{ runner.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake ${{ env.CMAKE_ARGS }}
- name: Build
run: cmake --build ${{ github.workspace }}/build --config ${{ env.BUILD_TYPE }} --parallel ${{ matrix.config.parallel }}