aboutsummaryrefslogtreecommitdiffhomepage
path: root/protocols
diff options
context:
space:
mode:
authorChing Pei Yang <[email protected]>2023-04-26 23:59:16 +0200
committerGitHub <[email protected]>2023-04-27 00:59:16 +0300
commit38bdbdb0f5356c07f077f238c4e27703e3ff4c1b (patch)
tree47a29c819d327230df1a3aae91529c0c255ca156 /protocols
parent622132290f60a3ecc1374d1e06eb8d3ddc96af89 (diff)
downloadHyprland-38bdbdb0f5356c07f077f238c4e27703e3ff4c1b.tar.gz
Hyprland-38bdbdb0f5356c07f077f238c4e27703e3ff4c1b.zip
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 <[email protected]> --------- Co-authored-by: Mihai Fufezan <[email protected]> Co-authored-by: vaxerski <[email protected]>
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: '@[email protected]',
command: [wayland_scanner, 'server-header', '@INPUT@', '@OUTPUT@'],
)