Fix header installation
This commit is contained in:
parent
b8066a3f34
commit
f67ec7afb1
1 changed files with 5 additions and 1 deletions
|
@ -6,6 +6,9 @@ include_files = [
|
||||||
'handle.hpp',
|
'handle.hpp',
|
||||||
'vm_fun.hpp',
|
'vm_fun.hpp',
|
||||||
'vm.hpp',
|
'vm.hpp',
|
||||||
|
]
|
||||||
|
|
||||||
|
include_files_detail = [
|
||||||
'detail/construct_foreign_class.hpp',
|
'detail/construct_foreign_class.hpp',
|
||||||
'detail/error_type.hpp',
|
'detail/error_type.hpp',
|
||||||
'detail/guess_class_name.hpp',
|
'detail/guess_class_name.hpp',
|
||||||
|
@ -18,5 +21,6 @@ include_files = [
|
||||||
]
|
]
|
||||||
|
|
||||||
if not meson.is_subproject()
|
if not meson.is_subproject()
|
||||||
install_data(sources: include_files, install_dir: 'include/wrenpp')
|
install_headers(include_files)
|
||||||
|
install_headers(include_files_detail, subdir: 'detail')
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue