meson: Use more meson's project_name()

Not that libfprint is long to write, but in case we'll ever change the
basename, we do it once.
This commit is contained in:
Marco Trevisan (Treviño)
2019-12-16 19:02:00 +01:00
parent c806993cb9
commit c57defda92
4 changed files with 10 additions and 8 deletions

View File

@@ -251,7 +251,9 @@ libfprint_dep = declare_dependency(link_with: libfprint,
gusb_dep,
])
install_headers(['fprint.h'] + libfprint_public_headers, subdir: 'libfprint')
install_headers(['fprint.h'] + libfprint_public_headers,
subdir: meson.project_name()
)
libfprint_private_dep = declare_dependency(
include_directories: include_directories('.'),