|
7 | 7 | 'cpp_std=c++20',
|
8 | 8 | 'warning_level=3'
|
9 | 9 | ],
|
| 10 | + meson_version: '>= 0.62.0', |
10 | 11 | )
|
11 | 12 |
|
12 | 13 | prefix = get_option('prefix')
|
@@ -72,15 +73,15 @@ wlr_pointer_constraints_protocol = custom_target(
|
72 | 73 |
|
73 | 74 | wlr_output_power_management_protocol = custom_target(
|
74 | 75 | 'wlr_output_power_management_unstable_v1_protocol_h',
|
75 |
| - input: join_paths(meson.source_root(), 'protocols', 'wlr-output-power-management-unstable-v1.xml'), |
| 76 | + input: join_paths(meson.project_source_root(), 'protocols', 'wlr-output-power-management-unstable-v1.xml'), |
76 | 77 | output: 'wlr-output-power-management-unstable-v1-protocol.h',
|
77 | 78 | command: [wayland_scanner, 'server-header', '@INPUT@', '@OUTPUT@'],
|
78 | 79 | build_by_default: false,
|
79 | 80 | )
|
80 | 81 |
|
81 | 82 | wlr_layer_shell_protocol = custom_target(
|
82 | 83 | 'wlr_layer_shell_unstable_v1_protocol_h',
|
83 |
| - input: join_paths(meson.source_root(), 'protocols', 'wlr-layer-shell-unstable-v1.xml'), |
| 84 | + input: join_paths(meson.project_source_root(), 'protocols', 'wlr-layer-shell-unstable-v1.xml'), |
84 | 85 | output: 'wlr-layer-shell-unstable-v1-protocol.h',
|
85 | 86 | command: [wayland_scanner, 'server-header', '@INPUT@', '@OUTPUT@'],
|
86 | 87 | build_by_default: false,
|
|
0 commit comments