summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorChing Pei Yang <59727193+horriblename@users.noreply.github.com>2023-04-26 23:59:16 +0200
committerGitHub <noreply@github.com>2023-04-27 00:59:16 +0300
commit38bdbdb0f5356c07f077f238c4e27703e3ff4c1b (patch)
tree47a29c819d327230df1a3aae91529c0c255ca156 /protocols
parent622132290f60a3ecc1374d1e06eb8d3ddc96af89 (diff)
Plugin header overhaul (#2087)
* meson: install headers * Meson/CMake: add pkg-config file for headers * makefile: install headers and pkgconfig * CMake: move protocols to cmake Co-authored-by: Ching Pei Yang <badnam3o.0@gmail.com> --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com> Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com>
Diffstat (limited to 'protocols')
-rw-r--r--protocols/meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/meson.build b/protocols/meson.build
index 09003b7c..e9934d0d 100644
--- a/protocols/meson.build
+++ b/protocols/meson.build
@@ -47,6 +47,8 @@ foreach p : protocols
wl_protos_headers += custom_target(
xml.underscorify() + '_server_h',
input: xml,
+ install: true,
+ install_dir: join_paths(get_option('includedir'), 'hyprland/protocols'),
output: '@BASENAME@-protocol.h',
command: [wayland_scanner, 'server-header', '@INPUT@', '@OUTPUT@'],
)