[meson] install headers by using install_subdir

use install_subdir instead of the install_headers in the meson config file
This commit is contained in:
Jonathan Guzmán 2022-12-08 12:40:51 -06:00
parent ca985c30dc
commit 47d9a31e4e
No known key found for this signature in database
GPG Key ID: C2956F1668BA042A

View File

@ -161,20 +161,9 @@ if get_option('SQLITECPP_BUILD_TESTS')
# static libraries do not have a version
endif
install_headers(
'include/SQLiteCpp/SQLiteCpp.h',
'include/SQLiteCpp/Assertion.h',
'include/SQLiteCpp/Backup.h',
'include/SQLiteCpp/Column.h',
'include/SQLiteCpp/Database.h',
'include/SQLiteCpp/Exception.h',
'include/SQLiteCpp/Savepoint.h',
'include/SQLiteCpp/Statement.h',
'include/SQLiteCpp/Transaction.h',
'include/SQLiteCpp/VariadicBind.h',
'include/SQLiteCpp/ExecuteMany.h',
subdir : 'SQLiteCpp',
)
install_subdir(
'include/SQliteCpp',
install_dir: get_option('includedir'))
sqlitecpp_dep = declare_dependency(
include_directories: sqlitecpp_incl,