Skip to content

Commit 23f7fe0

Browse files
committed
chore: fix vcpkg root
1 parent 3d658d8 commit 23f7fe0

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/build-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ permissions:
1818
env:
1919
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2020
_VCPKG_: ${{ github.workspace }}/external/microsoft/vcpkg
21+
VCPKG_ROOT: ${{ github.workspace }}/external/microsoft/vcpkg
2122
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"
2223
VCPKG_DEFAULT_BINARY_CACHE: ${{ github.workspace }}/external/microsoft/vcpkg/bincache
2324
VCPKG_FEATURE_FLAGS: "dependencygraph"

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ To build:
1414

1515
```sh
1616
git submodule update --init
17+
18+
# Set up vcpkg -- you can also use a vcpkg elsewhere via VCPKG_ROOT
1719
cd external/microsoft/vcpkg && ./bootstrap-vcpkg.sh && cd -
20+
export VCPKG_ROOT="$(pwd)/external/microsoft/vcpkg}"
21+
1822
make all
1923

2024
# or

0 commit comments

Comments
 (0)