Skip to content

Commit f19338e

Browse files
committed
GitHub Actions: Using vcpkg toolchain instead of CMAKE_PREFIX_PATH for
dependencies. vcpkg toolchain will automatically copy DLLs of the dependencies, needed for testing. * .github/workflows/cmake.yml (win deps): Export CMAKE_TOOLCHAIN_FILE environment variable from the step instead of CMAKE_PREFIX_PATH. git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1920783 13f79535-47bb-0310-9956-ffa450edef68
1 parent f0f731c commit f19338e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/cmake.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
C:\vcpkg\vcpkg.exe install --triplet ${{ matrix.vcpkg_triplet }} `
7676
apr apr-util expat zlib sqlite3
7777
78-
"CMAKE_PREFIX_PATH=C:\vcpkg\installed\${{ matrix.vcpkg_triplet }}" >> $env:GITHUB_ENV
78+
"CMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake" >> $env:GITHUB_ENV
7979
8080
- name: Install dependecies (Linux, apt-get)
8181
if: runner.os == 'Linux'

0 commit comments

Comments
 (0)