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:
parent
8900400516
commit
cb6158cb00
1 changed files with 5 additions and 1 deletions
|
@ -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'),
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in a new issue