diff --git a/scripts/cmake/vcpkg_install_msbuild.cmake b/scripts/cmake/vcpkg_install_msbuild.cmake index cdef344ddbf..ec3a713a5c3 100644 --- a/scripts/cmake/vcpkg_install_msbuild.cmake +++ b/scripts/cmake/vcpkg_install_msbuild.cmake @@ -140,7 +140,7 @@ function(vcpkg_install_msbuild) /p:UseIntelMKL=No /p:WindowsTargetPlatformVersion=${_csc_TARGET_PLATFORM_VERSION} /p:VcpkgTriplet=${TARGET_TRIPLET} - "/p:VcpkgCurrentInstalledDir=${CURRENT_INSTALLED_DIR}" + "/p:VcpkgInstalledDir=${_VCPKG_INSTALLED_DIR}" /p:VcpkgManifestInstall=false /m )