mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 02:40:34 +00:00
trivial: Do not hard-depend on newer GLib versions
This commit is contained in:
parent
a3c6e8a8bd
commit
92bfc1b6a8
@ -198,23 +198,25 @@ if get_option('tests')
|
||||
],
|
||||
)
|
||||
test('fwupd-self-test', e, timeout: 60)
|
||||
e = executable(
|
||||
'fwupd-thread-test',
|
||||
sources : [
|
||||
'fwupd-thread-test.c'
|
||||
],
|
||||
include_directories : [
|
||||
root_incdir,
|
||||
],
|
||||
dependencies : [
|
||||
libfwupd_deps,
|
||||
],
|
||||
link_with : fwupd,
|
||||
c_args : [
|
||||
'-DG_LOG_DOMAIN="Fwupd"',
|
||||
],
|
||||
)
|
||||
test('fwupd-thread-test', e, timeout: 60)
|
||||
if gio.version().version_compare ('>= 2.64.0')
|
||||
e = executable(
|
||||
'fwupd-thread-test',
|
||||
sources : [
|
||||
'fwupd-thread-test.c'
|
||||
],
|
||||
include_directories : [
|
||||
root_incdir,
|
||||
],
|
||||
dependencies : [
|
||||
libfwupd_deps,
|
||||
],
|
||||
link_with : fwupd,
|
||||
c_args : [
|
||||
'-DG_LOG_DOMAIN="Fwupd"',
|
||||
],
|
||||
)
|
||||
test('fwupd-thread-test', e, timeout: 60)
|
||||
endif
|
||||
endif
|
||||
|
||||
fwupd_incdir = include_directories('.')
|
||||
|
Loading…
Reference in New Issue
Block a user