aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2016-10-11 08:11:32 -0700
committerGitHub <noreply@github.com>2016-10-11 08:11:32 -0700
commit43d9bc0520b6fe912c5c0cf946490927961d0eba (patch)
tree7a5ee8add0681c6e6368ef8bcc01ead503d0e42b /scripts
parentf661f973a4e73f62e0b004078eb36a8045efad25 (diff)
parent1009cd47bb6cae4605f610e58fff1ee6532cc4ed (diff)
downloadvcpkg-43d9bc0520b6fe912c5c0cf946490927961d0eba.tar.gz
vcpkg-43d9bc0520b6fe912c5c0cf946490927961d0eba.zip
Merge pull request #140 from Morten242/master
Use -noprofile to avoid loading powershell profiles
Diffstat (limited to 'scripts')
-rw-r--r--scripts/buildsystems/vcpkg.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/buildsystems/vcpkg.cmake b/scripts/buildsystems/vcpkg.cmake
index cd4de3f21..88acc8436 100644
--- a/scripts/buildsystems/vcpkg.cmake
+++ b/scripts/buildsystems/vcpkg.cmake
@@ -43,7 +43,7 @@ if(NOT VCPKG_TOOLCHAIN)
function(add_executable name)
_add_executable(${ARGV})
add_custom_command(TARGET ${name} POST_BUILD
- COMMAND powershell -executionpolicy UnRestricted -file ${_VCPKG_TOOLCHAIN_DIR}/msbuild/applocal.ps1
+ COMMAND powershell -noprofile -executionpolicy UnRestricted -file ${_VCPKG_TOOLCHAIN_DIR}/msbuild/applocal.ps1
-targetBinary $<TARGET_FILE:${name}>
-installedDir "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}$<$<CONFIG:Debug>:/debug>/bin"
-OutVariable out