diff options
author | Thomas White <taw@physics.org> | 2022-04-01 12:08:07 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2022-04-01 12:08:07 +0200 |
commit | 5c31874f20a37c2ac8d4c27d982c0783db990105 (patch) | |
tree | adad382e5213ab84aff7a9068675bf2e8ffce503 /meson.build | |
parent | 17163c01fa6864dd2ea48275cadfe3ada436a24b (diff) |
Meson: Disable OpenCL by default, and update documentation
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) |