diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meson.build b/meson.build index fa369ef7..ac956aea 100644 --- a/meson.build +++ b/meson.build @@ -59,9 +59,9 @@ endif opencldep = dependency('OpenCL', required: get_option('opencl')) if opencldep.found() conf_data.set10('HAVE_OPENCL', 1) -endif -if cc.has_header('CL/cl.h', dependencies: opencldep) - conf_data.set10('HAVE_CL_CL_H', 1) + if cc.has_header('CL/cl.h', dependencies: opencldep) + conf_data.set10('HAVE_CL_CL_H', 1) + endif endif zmqdep = dependency('libzmq', required: false) |