Skip to content
Snippets Groups Projects
Commit c67e60ae authored by Yonggang Luo's avatar Yonggang Luo Committed by Marge Bot
Browse files

meson: clc compiler test only works on win32


Signed-off-by: default avatarYonggang Luo <luoyonggang@gmail.com>
Acked-by: Jesse Natalie's avatarJesse Natalie <jenatali@microsoft.com>
Part-of: <mesa/mesa!17934>
parent e95531e1
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,7 @@ libclc_compiler = shared_library( ...@@ -34,7 +34,7 @@ libclc_compiler = shared_library(
name_prefix : '' # otherwise mingw will create libclon12compiler.dll 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 = executable('clc_compiler_test',
['clc_compiler_test.cpp', 'compute_test.cpp'], ['clc_compiler_test.cpp', 'compute_test.cpp'],
link_with : [libclc_compiler], link_with : [libclc_compiler],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment