Meson: pass AQUAMARINE_VERSION argument

This commit is contained in:
Mihai Fufezan 2024-09-19 13:48:31 +00:00
parent 92df6b0dce
commit dfa1bd0cd4
Signed by: fufexan
SSH key fingerprint: SHA256:SdnKmEpJrDu1+2UO1QpB/Eg4HKcdDi6n+xSRqFNJVpg
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'))

View file

@ -8,7 +8,7 @@ executable(
cpp_pch: 'pch/pch.hpp',
dependencies: [
server_protos,
dependency('aquamarine'),
aquamarine,
dependency('gbm'),
dependency('xcursor'),
dependency('wayland-server'),