From 3839b44d18ed56bbc44ae89d61c7ce159bf2b6d5 Mon Sep 17 00:00:00 2001 From: Robert Schumacher Date: Thu, 6 Apr 2017 15:08:35 -0700 Subject: [vcpkg-cmake] Use Bypass to avoid mark-of-the-web issues in cmake toolchain. --- scripts/buildsystems/vcpkg.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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 $ -installedDir "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}$<$:/debug>/bin" -OutVariable out -- cgit v1.2.3