mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-24 13:45:58 +01:00
Meson: install headers in hyprland subdir
This commit is contained in:
parent
5c1d51c5a2
commit
41bb87866b
3 changed files with 4 additions and 2 deletions
|
@ -25,7 +25,7 @@ if not features.get('session')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
install_subdir('wlr',
|
install_subdir('wlr',
|
||||||
install_dir: get_option('includedir'),
|
install_dir: get_option('includedir') / 'hyprland',
|
||||||
exclude_files: exclude_files,
|
exclude_files: exclude_files,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -22,4 +22,4 @@ ver_h = configure_file(
|
||||||
configuration: version_data,
|
configuration: version_data,
|
||||||
)
|
)
|
||||||
|
|
||||||
install_headers(conf_h, ver_h, subdir: 'wlr')
|
install_headers(conf_h, ver_h, install_dir: get_option('includedir') / 'hyprland' / 'wlr')
|
||||||
|
|
|
@ -199,10 +199,12 @@ if get_option('examples')
|
||||||
subdir('tinywl')
|
subdir('tinywl')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
pkg_install_dir = join_paths(get_option('datadir'), 'pkgconfig')
|
||||||
pkgconfig = import('pkgconfig')
|
pkgconfig = import('pkgconfig')
|
||||||
pkgconfig.generate(
|
pkgconfig.generate(
|
||||||
lib_wlr,
|
lib_wlr,
|
||||||
description: 'Wayland compositor library',
|
description: 'Wayland compositor library',
|
||||||
|
install_dir: pkg_install_dir,
|
||||||
url: 'https://gitlab.freedesktop.org/wlroots/wlroots',
|
url: 'https://gitlab.freedesktop.org/wlroots/wlroots',
|
||||||
variables: wlr_vars,
|
variables: wlr_vars,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue