Skip to content
This repository has been archived by the owner on Jul 20, 2024. It is now read-only.

Commit

Permalink
Meson: install headers in hyprland subdir
Browse files Browse the repository at this point in the history
  • Loading branch information
fufexan committed May 10, 2024
1 parent 411292d commit a336b9b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if not features.get('session')
endif

install_subdir('wlr',
install_dir: get_option('includedir'),
install_dir: get_option('includedir') / 'hyprland',
exclude_files: exclude_files,
)

Expand Down
2 changes: 1 addition & 1 deletion include/wlr/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ ver_h = configure_file(
configuration: version_data,
)

install_headers(conf_h, ver_h, subdir: 'wlr')
install_headers(conf_h, ver_h, install_dir: get_option('includedir') / 'hyprland' / 'wlr')
2 changes: 2 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,12 @@ if get_option('examples')
subdir('tinywl')
endif

pkg_install_dir = join_paths(get_option('datadir'), 'pkgconfig')
pkgconfig = import('pkgconfig')
pkgconfig.generate(
lib_wlr,
description: 'Wayland compositor library',
install_dir: pkg_install_dir,
url: 'https://gitlab.freedesktop.org/wlroots/wlroots',
variables: wlr_vars,
)
Expand Down

0 comments on commit a336b9b

Please sign in to comment.