Skip to content

Commit

Permalink
Set VCPKG_INSTALL_PREFIX when building local dependencies with VCPKG
Browse files Browse the repository at this point in the history
  • Loading branch information
nicogodet authored and nyalldawson committed Oct 29, 2024
1 parent 7c9214f commit a631b1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 --")
Expand Down

0 comments on commit a631b1f

Please sign in to comment.