diff options
| author | Mihai Fufezan <mihai@fufexan.net> | 2024-09-22 21:20:35 +0300 |
|---|---|---|
| committer | Mihai Fufezan <mihai@fufexan.net> | 2024-09-27 00:07:52 +0300 |
| commit | 27211c71e92e1bacf111d8a815e958f80969ce6e (patch) | |
| tree | eb3600df8383225540304fbb35e1ba8fa90fc5e7 /src | |
| parent | 14942bca60cc7d85e8238a151bd444112601ebe6 (diff) | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/meson.build | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/meson.build b/src/meson.build index da46c38c..7c71a735 100644 --- a/src/meson.build +++ b/src/meson.build @@ -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'), |
