aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/cmake/vcpkg_install_msbuild.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/cmake/vcpkg_install_msbuild.cmake b/scripts/cmake/vcpkg_install_msbuild.cmake
index a6b9ec9c2..580e86ab2 100644
--- a/scripts/cmake/vcpkg_install_msbuild.cmake
+++ b/scripts/cmake/vcpkg_install_msbuild.cmake
@@ -143,7 +143,10 @@ function(vcpkg_install_msbuild)
"/p:VcpkgTriplet=${TARGET_TRIPLET}"
"/p:VcpkgInstalledDir=${_VCPKG_INSTALLED_DIR}"
"/p:VcpkgManifestInstall=false"
- "/m"
+ "/p:UseMultiToolTask=true"
+ "/p:MultiProcMaxCount=${VCPKG_CONCURRENCY}"
+ "/p:EnforceProcessCountAcrossBuilds=true"
+ "/m:${VCPKG_CONCURRENCY}"
)
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")