Merge pull request #26452 from BillyONeal:add-windows-sdk-note

Add note for people debugging DirectML detection failures to check their Windows SDK version.
This commit is contained in:
Alexander Smorkalov 2024-11-13 08:27:57 +03:00 committed by GitHub
commit 8fe70a1877
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,7 @@ if(WIN32)
OUTPUT_VARIABLE TRY_OUT OUTPUT_VARIABLE TRY_OUT
) )
if(NOT __VALID_DIRECTML) if(NOT __VALID_DIRECTML)
message(STATUS "No support for DirectML (d3d12, dxcore, directml libs are required)") message(STATUS "No support for DirectML. d3d12, dxcore, directml libs are required, first bundled with Windows SDK 10.0.19041.0.")
return() return()
endif() endif()
set(HAVE_DIRECTML ON) set(HAVE_DIRECTML ON)