Files
OpenCL-CTS/test_conformance/d3d10/CMakeLists.txt
Ahmed Hesham e778fa8380 Update D3D10 and D3D11 interop tests (#2479)
Both tests depend on a very old DirectX SDK (August 2009) and expect it
to be extracted to an {NV_TOOLS} environment variable. They additionally
require definining {ARCH} as a CMake configuration option, which is not
needed.

Update both projects to use DirectX libraries provided by the Windows
SDK and drop the unneeded configuration options.

---------

Signed-off-by: Ahmed Hesham <ahmed.hesham@arm.com>
2025-08-19 17:37:47 +01:00

19 lines
306 B
CMake

if(WIN32)
set(MODULE_NAME D3D10)
set(${MODULE_NAME}_SOURCES
buffer.cpp
texture2d.cpp
texture3d.cpp
misc.cpp
main.cpp
harness.cpp
)
list(APPEND CLConform_LIBRARIES d3d10 dxgi)
include(../CMakeCommon.txt)
else()
message(STATUS "D3D10 tests are only supported on Windows.")
endif()