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

Add note for people debugging DirectML detection failures to check their Windows SDK version.
pull/26453/head^2
Alexander Smorkalov 2 weeks ago committed by GitHub
commit 8fe70a1877
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      cmake/OpenCVDetectDirectML.cmake

@ -6,7 +6,7 @@ if(WIN32)
OUTPUT_VARIABLE TRY_OUT
)
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()
endif()
set(HAVE_DIRECTML ON)

Loading…
Cancel
Save