From 14c09eeb22d44342660946e5ecbc348bb1db6077 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Hrub=C3=BD?= Date: Fri, 23 Sep 2016 13:17:51 +0200 Subject: [PATCH] changed execution policy from remotesigned to unrestricted --- scripts/buildsystems/vcpkg.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 $ -installedDir "${_VCPKG_TOOLCHAIN_DIR}/../installed/${_VCPKG_TARGET_TRIPLET}$<$:/debug>/bin" -OutVariable out