Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Acked-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17934>
name_prefix : '' # otherwise mingw will create libclon12compiler.dll
)
-if dep_dxheaders.found()
+if dep_dxheaders.found() and host_machine.system() == 'windows'
clc_compiler_test = executable('clc_compiler_test',
['clc_compiler_test.cpp', 'compute_test.cpp'],
link_with : [libclc_compiler],