mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-12-26 19:39:48 +01:00
build: use has_headers in find_library()
This allows to make sure the library's header files are available.
This commit is contained in:
parent
47f9e1ccea
commit
af7cdec82d
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ rt = cc.find_library('rt')
|
|||
pipewire = dependency('libpipewire-0.3', version: '>= 0.3.2')
|
||||
wayland_client = dependency('wayland-client')
|
||||
wayland_protos = dependency('wayland-protocols', version: '>=1.14')
|
||||
iniparser = cc.find_library('iniparser')
|
||||
iniparser = cc.find_library('iniparser', has_headers: ['iniparser.h', 'dictionary.h'])
|
||||
|
||||
epoll = dependency('', required: false)
|
||||
if (not cc.has_function('timerfd_create', prefix: '#include <sys/timerfd.h>') or
|
||||
|
|
Loading…
Reference in a new issue