diff options
author | Patrick Griffis <tingping@tingping.se> | 2018-02-27 13:42:28 -0500 |
---|---|---|
committer | Patrick Griffis <tingping@tingping.se> | 2018-02-27 13:42:28 -0500 |
commit | 971f46e1f292120322143d23201d8d377e225354 (patch) | |
tree | b554bc7b4375e1428ae9adb01bbbc5cbb044eba9 /gdk | |
parent | d2b5436462f1452ec283eb7d156813852fe359be (diff) | |
download | gtk+-971f46e1f292120322143d23201d8d377e225354.tar.gz |
build: Error if no backends enabled
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/meson.build | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk/meson.build b/gdk/meson.build index 267f53fd27..466e11ff41 100644 --- a/gdk/meson.build +++ b/gdk/meson.build @@ -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], |