nix/meson: add re2 dependency (#8738)

* nix/default: add re2 dependency

* meson: add re2
This commit is contained in:
Austin Horstman 2024-12-16 13:22:36 -06:00 committed by GitHub
parent c2d14a2013
commit e340e9f431
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6 additions and 0 deletions

View file

@ -3,6 +3,7 @@ executable(
'main.cpp', 'main.cpp',
dependencies: [ dependencies: [
dependency('hyprutils', version: '>= 0.1.1'), dependency('hyprutils', version: '>= 0.1.1'),
dependency('re2', required: true)
], ],
install: true, install: true,
) )

View file

@ -59,6 +59,8 @@ endif
backtrace_dep = cpp_compiler.find_library('execinfo', required: false) backtrace_dep = cpp_compiler.find_library('execinfo', required: false)
epoll_dep = dependency('epoll-shim', required: false) # timerfd on BSDs epoll_dep = dependency('epoll-shim', required: false) # timerfd on BSDs
re2 = dependency('re2', required: true)
# Handle options # Handle options
systemd_option = get_option('systemd') systemd_option = get_option('systemd')
systemd = dependency('systemd', required: systemd_option) systemd = dependency('systemd', required: systemd_option)

View file

@ -27,6 +27,7 @@
mesa, mesa,
pango, pango,
pciutils, pciutils,
re2,
systemd, systemd,
tomlplusplus, tomlplusplus,
udis86-hyprland, udis86-hyprland,
@ -128,6 +129,7 @@ in
mesa mesa
pango pango
pciutils pciutils
re2
tomlplusplus tomlplusplus
udis86-hyprland udis86-hyprland
wayland wayland

View file

@ -22,6 +22,7 @@ executable(
dependency('egl'), dependency('egl'),
dependency('xkbcommon'), dependency('xkbcommon'),
dependency('libinput'), dependency('libinput'),
dependency('re2'),
xcb_dep, xcb_dep,
xcb_composite_dep, xcb_composite_dep,
xcb_errors_dep, xcb_errors_dep,