meson: move gmodule check to top-level
It's also needed by the generic/states test and the variable is currently checked as part of the opengl lib tests so wouldn't be available if opengl was disabled.
This commit is contained in:
parent
4ec1ba433d
commit
73828a1a5c
@ -136,8 +136,6 @@ foreach option : glconf_options
|
|||||||
glconf.set10(option, false)
|
glconf.set10(option, false)
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
gmodule_dep = dependency('gmodule-no-export-2.0',
|
|
||||||
fallback: ['glib', 'libgmodule_dep'])
|
|
||||||
unneeded_dep = dependency('', required : false)
|
unneeded_dep = dependency('', required : false)
|
||||||
if unneeded_dep.found()
|
if unneeded_dep.found()
|
||||||
error ('Found unfindable dependency')
|
error ('Found unfindable dependency')
|
||||||
|
@ -235,6 +235,8 @@ glib_deps = [dependency('glib-2.0', version : glib_req, fallback: ['glib', 'libg
|
|||||||
gio_dep = dependency('gio-2.0', fallback: ['glib', 'libgio_dep'])
|
gio_dep = dependency('gio-2.0', fallback: ['glib', 'libgio_dep'])
|
||||||
giounix_dep = dependency('gio-unix-2.0', version : glib_req, required : host_system != 'windows',
|
giounix_dep = dependency('gio-unix-2.0', version : glib_req, required : host_system != 'windows',
|
||||||
fallback: ['glib', 'libgiounix_dep'])
|
fallback: ['glib', 'libgiounix_dep'])
|
||||||
|
gmodule_dep = dependency('gmodule-no-export-2.0',
|
||||||
|
fallback: ['glib', 'libgmodule_dep'])
|
||||||
|
|
||||||
# some of the examples can use gdk-pixbuf and GTK+3
|
# some of the examples can use gdk-pixbuf and GTK+3
|
||||||
gdk_pixbuf_dep = dependency('gdk-pixbuf-2.0', required : get_option('examples'))
|
gdk_pixbuf_dep = dependency('gdk-pixbuf-2.0', required : get_option('examples'))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user