Skip to content

Commit

Permalink
Add minimum Meson version
Browse files Browse the repository at this point in the history
  • Loading branch information
serebit committed Dec 18, 2024
1 parent ed02803 commit 9eb256e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ project(
'cpp_std=c++20',
'warning_level=3'
],
meson_version: '>= 0.62.0',
)

prefix = get_option('prefix')
Expand Down Expand Up @@ -72,15 +73,15 @@ wlr_pointer_constraints_protocol = custom_target(

wlr_output_power_management_protocol = custom_target(
'wlr_output_power_management_unstable_v1_protocol_h',
input: join_paths(meson.source_root(), 'protocols', 'wlr-output-power-management-unstable-v1.xml'),
input: join_paths(meson.project_source_root(), 'protocols', 'wlr-output-power-management-unstable-v1.xml'),
output: 'wlr-output-power-management-unstable-v1-protocol.h',
command: [wayland_scanner, 'server-header', '@INPUT@', '@OUTPUT@'],
build_by_default: false,
)

wlr_layer_shell_protocol = custom_target(
'wlr_layer_shell_unstable_v1_protocol_h',
input: join_paths(meson.source_root(), 'protocols', 'wlr-layer-shell-unstable-v1.xml'),
input: join_paths(meson.project_source_root(), 'protocols', 'wlr-layer-shell-unstable-v1.xml'),
output: 'wlr-layer-shell-unstable-v1-protocol.h',
command: [wayland_scanner, 'server-header', '@INPUT@', '@OUTPUT@'],
build_by_default: false,
Expand Down

0 comments on commit 9eb256e

Please sign in to comment.