mirror of
https://github.com/opencv/opencv.git
synced 2024-11-27 12:40:05 +08:00
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:
commit
8fe70a1877
@ -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…
Reference in New Issue
Block a user