mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 19:17:10 +01:00
[vcpkg-toolchain] Add INPUT_FILE NUL. Fixes #1431.
This commit is contained in:
parent
c9340bd6e0
commit
5498864711
@ -2,6 +2,7 @@
|
|||||||
function(vcpkg_get_windows_sdk ret)
|
function(vcpkg_get_windows_sdk ret)
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "& {& '${VCPKG_ROOT_DIR}/scripts/getWindowsSDK.ps1'}" 2>&1
|
COMMAND powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "& {& '${VCPKG_ROOT_DIR}/scripts/getWindowsSDK.ps1'}" 2>&1
|
||||||
|
INPUT_FILE NUL
|
||||||
OUTPUT_VARIABLE WINDOWS_SDK
|
OUTPUT_VARIABLE WINDOWS_SDK
|
||||||
RESULT_VARIABLE error_code)
|
RESULT_VARIABLE error_code)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user