meson: specify fallback for libgmodule_dep
Fixes build with glib built as a subproject.
This commit is contained in:
parent
ca8c63080f
commit
85e5c7b4d9
@ -127,7 +127,8 @@ foreach option : glconf_options
|
|||||||
glconf.set10(option, false)
|
glconf.set10(option, false)
|
||||||
endforeach
|
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)
|
unneeded_dep = dependency('', required : false)
|
||||||
if unneeded_dep.found()
|
if unneeded_dep.found()
|
||||||
error ('Found unfindable dependency')
|
error ('Found unfindable dependency')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user