mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 03:45:59 +01:00
Meson: pass AQUAMARINE_VERSION argument
This commit is contained in:
parent
92df6b0dce
commit
dfa1bd0cd4
2 changed files with 4 additions and 1 deletions
|
@ -30,6 +30,9 @@ if cpp_compiler.check_header('execinfo.h')
|
||||||
add_project_arguments('-DHAS_EXECINFO', language: 'cpp')
|
add_project_arguments('-DHAS_EXECINFO', language: 'cpp')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
aquamarine = dependency('aquamarine')
|
||||||
|
add_project_arguments(['-DAQUAMARINE_VERSION="@0@"'.format(aquamarine.version())], language: 'cpp')
|
||||||
|
|
||||||
xcb_dep = dependency('xcb', required: get_option('xwayland'))
|
xcb_dep = dependency('xcb', required: get_option('xwayland'))
|
||||||
xcb_composite_dep = dependency('xcb-composite', required: get_option('xwayland'))
|
xcb_composite_dep = dependency('xcb-composite', required: get_option('xwayland'))
|
||||||
xcb_errors_dep = dependency('xcb-errors', required: get_option('xwayland'))
|
xcb_errors_dep = dependency('xcb-errors', required: get_option('xwayland'))
|
||||||
|
|
|
@ -8,7 +8,7 @@ executable(
|
||||||
cpp_pch: 'pch/pch.hpp',
|
cpp_pch: 'pch/pch.hpp',
|
||||||
dependencies: [
|
dependencies: [
|
||||||
server_protos,
|
server_protos,
|
||||||
dependency('aquamarine'),
|
aquamarine,
|
||||||
dependency('gbm'),
|
dependency('gbm'),
|
||||||
dependency('xcursor'),
|
dependency('xcursor'),
|
||||||
dependency('wayland-server'),
|
dependency('wayland-server'),
|
||||||
|
|
Loading…
Reference in a new issue