mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-24 06:59:45 -05:00
Install headers explicitly
This commit is contained in:
parent
a2bbf2c1f7
commit
51892e0d74
9 changed files with 104 additions and 13 deletions
|
|
@ -9,6 +9,19 @@ version_data.set('WLR_VERSION_API_CURRENT', so_version[0])
|
|||
version_data.set('WLR_VERSION_API_REVISION', so_version[1])
|
||||
version_data.set('WLR_VERSION_API_AGE', so_version[2])
|
||||
|
||||
wlr_inc_dest = join_paths(get_option('includedir'), 'wlr')
|
||||
configure_file(output: 'config.h', install_dir: wlr_inc_dest, configuration: conf_data)
|
||||
configure_file(output: 'version.h', install_dir: wlr_inc_dest, configuration: version_data)
|
||||
install_headers(
|
||||
configure_file(output: 'config.h', configuration: conf_data),
|
||||
configure_file(output: 'version.h', configuration: version_data),
|
||||
'backend.h',
|
||||
'xcursor.h',
|
||||
subdir: 'wlr'
|
||||
)
|
||||
if conf_data.get('WLR_HAS_XWAYLAND', false)
|
||||
install_headers('xwayland.h', subdir: 'wlr')
|
||||
endif
|
||||
|
||||
subdir('backend')
|
||||
subdir('interfaces')
|
||||
subdir('render')
|
||||
subdir('types')
|
||||
subdir('util')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue