Use libglib-testing submodule only as fallback

Eventually, we will only use the one from system but until then both variants should work.
This commit is contained in:
Jan Tojnar 2020-03-06 20:41:21 +01:00
parent 991d002a4e
commit fc4efbef74
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
1 changed files with 1 additions and 2 deletions

View File

@ -40,9 +40,8 @@ polkit_gobject = dependency('polkit-gobject-1')
polkitpolicydir = polkit_gobject.get_pkgconfig_variable('policydir', polkitpolicydir = polkit_gobject.get_pkgconfig_variable('policydir',
define_variable: ['prefix', prefix]) define_variable: ['prefix', prefix])
libglib_testing = subproject('libglib-testing')
libglib_testing_dep = dependency( libglib_testing_dep = dependency(
'libglib-testing', 'glib-testing-0',
fallback: ['libglib-testing', 'libglib_testing_dep'], fallback: ['libglib-testing', 'libglib_testing_dep'],
) )