Meson: try to find udis86 through pkgconfig, fallback to subproject
Only the fork provides a .pc file, so there's no risk of linking the wrong lib version. If pkg-config can't find it (most cases), fall back to using the subproject through the wrap file.
This commit is contained in:
parent
14942bca60
commit
27211c71e9
5 changed files with 29 additions and 11 deletions
|
|
@ -31,7 +31,11 @@ executable(
|
|||
backtrace_dep,
|
||||
epoll_dep,
|
||||
gio_dep,
|
||||
udis86,
|
||||
|
||||
# Try to find canihavesomecoffee's udis86 using pkgconfig
|
||||
# vmt/udis86 does not provide a .pc file and won't be detected this way
|
||||
# Falls back to using the subproject through udis86.wrap
|
||||
dependency('udis86'),
|
||||
|
||||
dependency('pixman-1'),
|
||||
dependency('gl', 'opengl'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue