diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2016-09-23 11:54:49 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-09-23 11:54:49 -0700 |
| commit | e63244ab5fded49665752f2da270eeb1ef27f974 (patch) | |
| tree | 6caa0139e62cd0fc4141255b50a6c5632a821106 | |
| parent | 5b89712df01c96242ced20c38f0fa27631c3f4e3 (diff) | |
| parent | 14c09eeb22d44342660946e5ecbc348bb1db6077 (diff) | |
| download | vcpkg-e63244ab5fded49665752f2da270eeb1ef27f974.tar.gz vcpkg-e63244ab5fded49665752f2da270eeb1ef27f974.zip | |
Merge pull request #80 from jhruby/master
changed execution policy from remotesigned to unrestricted
| -rw-r--r-- | scripts/buildsystems/vcpkg.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/buildsystems/vcpkg.cmake b/scripts/buildsystems/vcpkg.cmake index 262d52092..9534038c9 100644 --- a/scripts/buildsystems/vcpkg.cmake +++ b/scripts/buildsystems/vcpkg.cmake @@ -41,7 +41,7 @@ if(NOT VCPKG_TOOLCHAIN) function(add_executable name) _add_executable(${ARGV}) add_custom_command(TARGET ${name} POST_BUILD - COMMAND powershell -executionpolicy remotesigned -file ${_VCPKG_TOOLCHAIN_DIR}/msbuild/applocal.ps1 + COMMAND powershell -executionpolicy UnRestricted -file ${_VCPKG_TOOLCHAIN_DIR}/msbuild/applocal.ps1 -targetBinary $<TARGET_FILE:${name}> -installedDir "${_VCPKG_TOOLCHAIN_DIR}/../installed/${_VCPKG_TARGET_TRIPLET}$<$<CONFIG:Debug>:/debug>/bin" -OutVariable out |
