mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2025-12-20 04:20:04 +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()
|
||||
plist_dep = dependency('libplist-2.0', required: false)
|
||||
if not plist_dep.found()
|
||||
plist_dep = dependency(libplist)
|
||||
plist_dep = dependency('libplist', required: true)
|
||||
endif
|
||||
cdata.set10('HAVE_IDEVICE', true)
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue