Fix header installation

This commit is contained in:
King_DuckZ 2022-05-15 16:09:18 +02:00
parent b8066a3f34
commit f67ec7afb1

View file

@ -6,6 +6,9 @@ include_files = [
'handle.hpp',
'vm_fun.hpp',
'vm.hpp',
]
include_files_detail = [
'detail/construct_foreign_class.hpp',
'detail/error_type.hpp',
'detail/guess_class_name.hpp',
@ -18,5 +21,6 @@ include_files = [
]
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