diff options
author | Mihai Fufezan <[email protected]> | 2024-09-19 13:48:31 +0000 |
---|---|---|
committer | Mihai Fufezan <[email protected]> | 2024-09-19 13:48:31 +0000 |
commit | dfa1bd0cd48253a446fbe455a46f0f4d23368c02 (patch) | |
tree | a89cd9caa493624a88c415ed27281927df4fd3b4 | |
parent | 92df6b0dce1b81b130c2b0e46d206c8c3dbb2971 (diff) | |
download | Hyprland-dfa1bd0cd48253a446fbe455a46f0f4d23368c02.tar.gz Hyprland-dfa1bd0cd48253a446fbe455a46f0f4d23368c02.zip |
Meson: pass AQUAMARINE_VERSION argument
-rw-r--r-- | meson.build | 3 | ||||
-rw-r--r-- | src/meson.build | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 123c31ae..9449c241 100644 --- a/meson.build +++ b/meson.build @@ -30,6 +30,9 @@ if cpp_compiler.check_header('execinfo.h') add_project_arguments('-DHAS_EXECINFO', language: 'cpp') endif +aquamarine = dependency('aquamarine') +add_project_arguments(['-DAQUAMARINE_VERSION="@0@"'.format(aquamarine.version())], language: 'cpp') + xcb_dep = dependency('xcb', required: get_option('xwayland')) xcb_composite_dep = dependency('xcb-composite', required: get_option('xwayland')) xcb_errors_dep = dependency('xcb-errors', required: get_option('xwayland')) diff --git a/src/meson.build b/src/meson.build index 3821bd60..928cd5a7 100644 --- a/src/meson.build +++ b/src/meson.build @@ -8,7 +8,7 @@ executable( cpp_pch: 'pch/pch.hpp', dependencies: [ server_protos, - dependency('aquamarine'), + aquamarine, dependency('gbm'), dependency('xcursor'), dependency('wayland-server'), |