diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-04-08 18:53:39 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-04-08 18:53:39 -0700 |
| commit | eb9b85c49db0102db6b584a84fa83e48ae7199c9 (patch) | |
| tree | 908056985b3a7497df46460fd5abd7daedb29963 /scripts/cmake | |
| parent | cea5cb99b26b3a4bfd42eea8704004632ca7b9f4 (diff) | |
| download | vcpkg-eb9b85c49db0102db6b584a84fa83e48ae7199c9.tar.gz vcpkg-eb9b85c49db0102db6b584a84fa83e48ae7199c9.zip | |
[vcpkg] Switch several usages of -ExecutionPolicy Unrestricted to Bypass to avoid failures due to Mark Of The Web
Diffstat (limited to 'scripts/cmake')
| -rw-r--r-- | scripts/cmake/vcpkg_copy_tool_dependencies.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/cmake/vcpkg_copy_tool_dependencies.cmake b/scripts/cmake/vcpkg_copy_tool_dependencies.cmake index 432e3c12a..f8af19230 100644 --- a/scripts/cmake/vcpkg_copy_tool_dependencies.cmake +++ b/scripts/cmake/vcpkg_copy_tool_dependencies.cmake @@ -4,7 +4,7 @@ function(vcpkg_copy_tool_dependencies TOOL_DIR) macro(search_for_dependencies PATH_TO_SEARCH) file(GLOB TOOLS ${TOOL_DIR}/*.exe ${TOOL_DIR}/*.dll) foreach(TOOL ${TOOLS}) - execute_process(COMMAND powershell -noprofile -executionpolicy UnRestricted -nologo + execute_process(COMMAND powershell -noprofile -executionpolicy Bypass -nologo -file ${VCPKG_ROOT_DIR}/scripts/buildsystems/msbuild/applocal.ps1 -targetBinary ${TOOL} -installedDir ${PATH_TO_SEARCH} |
