mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-07 03:06:05 -04:00
[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:
parent
ca985c30dc
commit
47d9a31e4e
17
meson.build
17
meson.build
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user