build: Make glib a libfprint dependency

We are going to use GLib types in the public API now.
This commit is contained in:
Benjamin Berg 2019-06-13 15:45:38 +02:00
parent 45d7046f99
commit ec8dd6410e
2 changed files with 3 additions and 2 deletions

View file

@ -3,7 +3,7 @@ examples = [ 'verify_live', 'enroll', 'verify', 'img_capture' ]
foreach example: examples
executable(example,
[example + '.c', 'storage.c'],
dependencies: [libfprint_dep, glib_dep],
dependencies: [libfprint_dep],
include_directories: [
root_inc,
],

View file

@ -168,7 +168,8 @@ libfprint = library('fprint',
install: true)
libfprint_dep = declare_dependency(link_with: libfprint,
include_directories: root_inc)
include_directories: root_inc,
dependencies: glib_dep)
install_headers(['fprint.h'], subdir: 'libfprint')