mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
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>
19 lines
306 B
CMake
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()
|