mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2025-12-24 22:40:03 +01:00
build: Fix libplist 1.x builds
When libplist-2.0 isn't available, fallback to requiring libplist 1.x to build the iDevice support.
This commit is contained in:
parent
98be7dd216
commit
244e858a86
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ if os_backend == 'linux'
|
||||||
if idevice_dep.found()
|
if idevice_dep.found()
|
||||||
plist_dep = dependency('libplist-2.0', required: false)
|
plist_dep = dependency('libplist-2.0', required: false)
|
||||||
if not plist_dep.found()
|
if not plist_dep.found()
|
||||||
plist_dep = dependency(libplist)
|
plist_dep = dependency('libplist', required: true)
|
||||||
endif
|
endif
|
||||||
cdata.set10('HAVE_IDEVICE', true)
|
cdata.set10('HAVE_IDEVICE', true)
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue