Make sure gl-renderer is enabled when building the EGL and EGL
dmabuf clients. This avoids missing declaration warnings and
linking errors such as:
../clients/simple-dmabuf-egl.c:1142: undefined reference to `weston_check_egl_extension
...
../clients/simple-egl.c:206: undefined reference to `weston_check_egl_extension'
Signed-off-by: Stefan Agner <stefan@agner.ch>
# weston-simple-im is handled specially separately due to install_dir and odd window.h usage
# weston-simple-im is handled specially separately due to install_dir and odd window.h usage
{
{
@ -130,6 +132,12 @@ foreach t : simple_clients
t_deps+=dep
t_deps+=dep
endforeach
endforeach
foreachoptname:t.get('options',[])
ifnotget_option(optname)
error('@0@ requires option @1@ which is not enabled. If you rather not build this, drop "@2@" from simple-clients option.'.format(t_name,optname,t.get('name')))