early-access version 2853
This commit is contained in:
7
externals/vcpkg/scripts/cmake/vcpkg_get_windows_sdk.cmake
vendored
Executable file
7
externals/vcpkg/scripts/cmake/vcpkg_get_windows_sdk.cmake
vendored
Executable file
@@ -0,0 +1,7 @@
|
||||
function(vcpkg_get_windows_sdk out_var)
|
||||
if("$ENV{WindowsSDKVersion}" MATCHES [[^([0-9.]*)\\?$]])
|
||||
set("${out_var}" "${CMAKE_MATCH_1}" PARENT_SCOPE)
|
||||
else()
|
||||
message(FATAL_ERROR "Unexpected format for ENV{WindowsSDKVersion} ($ENV{WindowsSDKVersion})")
|
||||
endif()
|
||||
endfunction()
|
Reference in New Issue
Block a user