From eb0295cc5815e416f2cd8cc3084560932c745996 Mon Sep 17 00:00:00 2001 From: Nicolas Godet <39594821+nicogodet@users.noreply.github.com> Date: Tue, 29 Oct 2024 08:47:56 +0100 Subject: [PATCH] Set VCPKG_INSTALL_PREFIX when building local dependencies with VCPKG --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2c54551457d8..b316726d6bfe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,6 +38,7 @@ if(NOT SDK_PATH STREQUAL "") set(WITH_VCPKG ON) elseif(WITH_VCPKG) message(STATUS "Building local dependencies with VCPKG --") + set(VCPKG_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/vcpkg_installed") include(VcpkgToolchain) else() message(STATUS "Building with system libraries --")