meson: specify fallback for libgmodule_dep
Fixes build with glib built as a subproject.
This commit is contained in:
parent
79d5b5151b
commit
b299f70dcf
@ -127,7 +127,8 @@ foreach option : glconf_options
|
||||
glconf.set10(option, false)
|
||||
endforeach
|
||||
|
||||
gmodule_dep = dependency('gmodule-no-export-2.0')
|
||||
gmodule_dep = dependency('gmodule-no-export-2.0',
|
||||
fallback: ['glib', 'libgmodule_dep'])
|
||||
unneeded_dep = dependency('', required : false)
|
||||
if unneeded_dep.found()
|
||||
error ('Found unfindable dependency')
|
||||
|
Loading…
x
Reference in New Issue
Block a user