diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-01-23 10:42:55 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-01-23 10:42:55 +0400 |
commit | 1cec1c6b67a94d07a347e8168c0c7cf39ab2bbbf (patch) | |
tree | 50ba176ed8cc44257df1608622bdf597db39c360 /meson.build | |
parent | a0f7d49fa47c07cb321d05054a6495223e2bee79 (diff) |
meson: add an `egl` option
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meson.build b/meson.build index 58ebf6f..802ed7d 100644 --- a/meson.build +++ b/meson.build @@ -74,8 +74,7 @@ foreach header : headers endif endforeach -# FIXME: Add a config option to validate spice-widget-egl being built or not -spice_gtk_has_egl = compiler.has_header('epoxy/egl.h') +spice_gtk_has_egl = compiler.has_header('epoxy/egl.h', required: get_option('egl')) spice_gtk_config_data.set('HAVE_EGL', spice_gtk_has_egl) # |