aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-07-11 14:09:56 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-07-11 14:09:56 -0700
commit5498864711a2c7b1224e2ebfeff0269d591a2136 (patch)
treece1ee0dbb33278d407751fc22c7a857bd7297658 /scripts
parentc9340bd6e018d0a78979533963e96d5a992757c1 (diff)
downloadvcpkg-5498864711a2c7b1224e2ebfeff0269d591a2136.tar.gz
vcpkg-5498864711a2c7b1224e2ebfeff0269d591a2136.zip
[vcpkg-toolchain] Add INPUT_FILE NUL. Fixes #1431.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/cmake/vcpkg_get_windows_sdk.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/cmake/vcpkg_get_windows_sdk.cmake b/scripts/cmake/vcpkg_get_windows_sdk.cmake
index ca58ab10a..64d8838e7 100644
--- a/scripts/cmake/vcpkg_get_windows_sdk.cmake
+++ b/scripts/cmake/vcpkg_get_windows_sdk.cmake
@@ -2,6 +2,7 @@
function(vcpkg_get_windows_sdk ret)
execute_process(
COMMAND powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "& {& '${VCPKG_ROOT_DIR}/scripts/getWindowsSDK.ps1'}" 2>&1
+ INPUT_FILE NUL
OUTPUT_VARIABLE WINDOWS_SDK
RESULT_VARIABLE error_code)