Skip to content

Commit 5f95827

Browse files
committed
Add note for people debugging DirectML detection failures to check their Windows SDK version.
DirectML was first included with 10.0.18362.0, but dxcore.lib necessary to make the check pass was first in 10.0.19041.0.
1 parent ff639d1 commit 5f95827

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/OpenCVDetectDirectML.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ if(WIN32)
66
OUTPUT_VARIABLE TRY_OUT
77
)
88
if(NOT __VALID_DIRECTML)
9-
message(STATUS "No support for DirectML (d3d12, dxcore, directml libs are required)")
9+
message(STATUS "No support for DirectML. d3d12, dxcore, directml libs are required, first bundled with Windows SDK 10.0.19041.0.")
1010
return()
1111
endif()
1212
set(HAVE_DIRECTML ON)

0 commit comments

Comments
 (0)