From 5c31874f20a37c2ac8d4c27d982c0783db990105 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 1 Apr 2022 12:08:07 +0200 Subject: Meson: Disable OpenCL by default, and update documentation --- meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'meson.build') 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) -- cgit v1.2.3