mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 15:20:10 +01:00
meson: clc compiler test only works on win32
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>
This commit is contained in:
parent
e95531e101
commit
c67e60ae8f
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ libclc_compiler = shared_library(
|
|||
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],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue