From 898b93a2c89ce67fef014eef9c54b4ee29a5a21f Mon Sep 17 00:00:00 2001 From: Pascal Thomet Date: Thu, 1 Feb 2024 20:59:11 +0100 Subject: [PATCH] doc / build vcpkg --- docs_src/build.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs_src/build.md b/docs_src/build.md index b11d6714..37d2f048 100644 --- a/docs_src/build.md +++ b/docs_src/build.md @@ -72,6 +72,8 @@ cd hello_imgui # Clone vcpkg -& bootstrap git clone https://github.com/microsoft/vcpkg.git ./vcpkg/bootstrap-vcpkg.sh +export VCPKG_ROOT=$(pwd)/vcpkg # You *need* to set this environment variable + # to tell cmake where to find vcpkg # Install dependencies required by hello_imgui # (they will be read from the vcpkg.json file) @@ -97,6 +99,8 @@ cd hello_imgui # Clone vcpkg -& bootstrap git clone https://github.com/microsoft/vcpkg.git ./vcpkg/bootstrap-vcpkg.sh +export VCPKG_ROOT=$(pwd)/vcpkg # You *need* to set this environment variable + # to tell cmake where to find vcpkg # Use the CMake preset "build_vcpkg_default" # This will grab all dependencies from vcpkg,