Skip to content

Commit

Permalink
Connect vcpkg to cmake using a toolchain file
Browse files Browse the repository at this point in the history
There is a mechanism to supply a "real" toolchain even when vcpkg is
supplying one. Google details if required.
  • Loading branch information
jefftrull committed Nov 15, 2024
1 parent 7bc9a26 commit b1054a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ jobs:
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: >
cmake -B ${{ steps.strings.outputs.build-output-dir }}
-DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/scripts/buildsystems/vcpkg.cmake
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
Expand Down

0 comments on commit b1054a2

Please sign in to comment.