mirror of
https://github.com/cemu-project/vcpkg.git
synced 2024-12-13 05:46:04 +00:00
changed execution policy from remotesigned to unrestricted
This commit is contained in:
parent
5b89712df0
commit
14c09eeb22
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user