changed execution policy from remotesigned to unrestricted

This commit is contained in:
Jan Hrubý 2016-09-23 13:17:51 +02:00
parent 5b89712df0
commit 14c09eeb22

View File

@ -41,7 +41,7 @@ if(NOT VCPKG_TOOLCHAIN)
function(add_executable name) function(add_executable name)
_add_executable(${ARGV}) _add_executable(${ARGV})
add_custom_command(TARGET ${name} POST_BUILD 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}> -targetBinary $<TARGET_FILE:${name}>
-installedDir "${_VCPKG_TOOLCHAIN_DIR}/../installed/${_VCPKG_TARGET_TRIPLET}$<$<CONFIG:Debug>:/debug>/bin" -installedDir "${_VCPKG_TOOLCHAIN_DIR}/../installed/${_VCPKG_TARGET_TRIPLET}$<$<CONFIG:Debug>:/debug>/bin"
-OutVariable out -OutVariable out