Skip to content

Commit 271b188

Browse files
committed
GH actions: Fix vcpkg on macOS
1 parent feaf27f commit 271b188

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cmake-multi-platform.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373

7474
- name: Setup vcpkg on macOS
7575
if: runner.os == 'macOS'
76-
run: cd vcpkg && ./bootstrap-vcpkg.sh && echo "VCPKG_ROOT=${{ github.workspace }}/vcpkg" >> $GITHUB_ENV
76+
run: cd vcpkg && ./bootstrap-vcpkg.sh
7777

7878
- name: Install pkg-config on Windows
7979
if: runner.os == 'Windows'
@@ -88,7 +88,7 @@ jobs:
8888
-G 'Ninja'
8989
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
9090
-DCMAKE_MAKE_PROGRAM=ninja
91-
-DCMAKE_TOOLCHAIN_FILE="$VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake"
91+
-DCMAKE_TOOLCHAIN_FILE="${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake"
9292
-S ${{ github.workspace }}
9393
9494
- name: Configure CMake (Linux)

0 commit comments

Comments
 (0)