aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMårten Nordheim <Morten242@gmail.com>2016-11-11 01:15:14 +0100
committerMårten Nordheim <Morten242@gmail.com>2016-11-11 01:15:14 +0100
commit60c61d9305e6e5cddbd130863c2ded67ad7cc0c4 (patch)
treea804df6813fa36193449965e2d90f2140ee2e99b /scripts
parent259af8514a3c3634c1980d8aebd7a57752d8e1a9 (diff)
downloadvcpkg-60c61d9305e6e5cddbd130863c2ded67ad7cc0c4.tar.gz
vcpkg-60c61d9305e6e5cddbd130863c2ded67ad7cc0c4.zip
Add /m switch to vcpkg_build_msbuild.cmake
(https://github.com/Microsoft/vcpkg/issues/258#issuecomment-259018977)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/cmake/vcpkg_build_msbuild.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/cmake/vcpkg_build_msbuild.cmake b/scripts/cmake/vcpkg_build_msbuild.cmake
index 5b422fe5e..df255c745 100644
--- a/scripts/cmake/vcpkg_build_msbuild.cmake
+++ b/scripts/cmake/vcpkg_build_msbuild.cmake
@@ -55,6 +55,7 @@ function(vcpkg_build_msbuild)
/p:Configuration=${_csc_RELEASE_CONFIGURATION}
/p:Platform=${_csc_PLATFORM}
/p:VCPkgLocalAppDataDisabled=true
+ /m
WORKING_DIRECTORY ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel
LOGNAME build-${TARGET_TRIPLET}-rel
)
@@ -66,7 +67,8 @@ function(vcpkg_build_msbuild)
/p:Configuration=${_csc_DEBUG_CONFIGURATION}
/p:Platform=${_csc_PLATFORM}
/p:VCPkgLocalAppDataDisabled=true
+ /m
WORKING_DIRECTORY ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg
LOGNAME build-${TARGET_TRIPLET}-dbg
)
-endfunction() \ No newline at end of file
+endfunction()