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
41fd229230
commit
aee496aeff
|
@ -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 New Issue