Skip to content

Commit

Permalink
Meson: pass AQUAMARINE_VERSION argument
Browse files Browse the repository at this point in the history
  • Loading branch information
fufexan committed Sep 19, 2024
1 parent 92df6b0 commit dfa1bd0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
Expand Down
2 changes: 1 addition & 1 deletion src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ executable(
cpp_pch: 'pch/pch.hpp',
dependencies: [
server_protos,
dependency('aquamarine'),
aquamarine,
dependency('gbm'),
dependency('xcursor'),
dependency('wayland-server'),
Expand Down

0 comments on commit dfa1bd0

Please sign in to comment.