aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-04-06 15:08:35 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-04-06 15:08:35 -0700
commit3839b44d18ed56bbc44ae89d61c7ce159bf2b6d5 (patch)
treefcc619d99f10fd7f651aac04665694a0751dc5b0
parent629e034c380c576fd6fa98bc0c90a49c39d7528b (diff)
downloadvcpkg-3839b44d18ed56bbc44ae89d61c7ce159bf2b6d5.tar.gz
vcpkg-3839b44d18ed56bbc44ae89d61c7ce159bf2b6d5.zip
[vcpkg-cmake] Use Bypass to avoid mark-of-the-web issues in cmake toolchain.
-rw-r--r--scripts/buildsystems/vcpkg.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/buildsystems/vcpkg.cmake b/scripts/buildsystems/vcpkg.cmake
index 8e2204dfb..63fcb98e4 100644
--- a/scripts/buildsystems/vcpkg.cmake
+++ b/scripts/buildsystems/vcpkg.cmake
@@ -89,7 +89,7 @@ if(NOT VCPKG_TOOLCHAIN)
if(IMPORTED_IDX EQUAL -1 AND ALIAS_IDX EQUAL -1)
if(VCPKG_APPLOCAL_DEPS)
add_custom_command(TARGET ${name} POST_BUILD
- COMMAND powershell -noprofile -executionpolicy UnRestricted -file ${_VCPKG_TOOLCHAIN_DIR}/msbuild/applocal.ps1
+ COMMAND powershell -noprofile -executionpolicy Bypass -file ${_VCPKG_TOOLCHAIN_DIR}/msbuild/applocal.ps1
-targetBinary $<TARGET_FILE:${name}>
-installedDir "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}$<$<CONFIG:Debug>:/debug>/bin"
-OutVariable out