meson: install wayland.hpp header

This commit is contained in:
Virt 2024-07-08 22:50:39 +02:00 committed by Mihai Fufezan
parent 9ff83f4aa9
commit e728e56cbc

View file

@ -113,7 +113,8 @@ foreach p : wl_server_protos
wl_server_protos_gen += custom_target(
p.underscorify(),
input: p,
install: false,
install: true,
install_dir: [false, join_paths(get_option('includedir'), 'hyprland/protocols')],
output: ['@BASENAME@.cpp', '@BASENAME@.hpp'],
command: [hyprwayland_scanner, '--wayland-enums', '@INPUT@', '@OUTDIR@'],
)