forked from AuroraMiddleware/gtk
build: Error if no backends enabled
This commit is contained in:
parent
d2b5436462
commit
971f46e1f2
@ -204,6 +204,10 @@ foreach backend : ['broadway', 'quartz', 'wayland', 'win32', 'x11']
|
||||
endif
|
||||
endforeach
|
||||
|
||||
if gdk_backends.length() == 0
|
||||
error('No backends enabled')
|
||||
endif
|
||||
|
||||
# FIXME: might have to add '-xobjective-c' to c_args for quartz backend?
|
||||
libgdk = static_library('gdk',
|
||||
sources: [gdk_sources, gdk_backends_gen_headers, gdkconfig],
|
||||
|
Loading…
Reference in New Issue
Block a user