Meson: pass AQUAMARINE_VERSION argument

This commit is contained in:
Mihai Fufezan 2024-09-19 13:48:31 +00:00
parent 92df6b0dce
commit dfa1bd0cd4
No known key found for this signature in database
2 changed files with 4 additions and 1 deletions

View file

@ -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'))