1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2024-11-11 13:51:02 -05:00

build: look for libev via pkgconfig

FreeBSD has pkg-config files for libev

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2019-04-14 04:13:51 +01:00
parent 8900400516
commit cb6158cb00
No known key found for this signature in database
GPG key ID: 37C999F617EA1A47

View file

@ -1,6 +1,10 @@
libev = dependency('libev', required: false)
if not libev.found()
libev = cc.find_library('ev')
endif
base_deps = [
cc.find_library('m'),
cc.find_library('ev'),
libev,
dependency('xcb', version: '>=1.9.2'),
]