meson: Rely on libfprint dependency to get root_include

No need to redefine it in all our tools
This commit is contained in:
Marco Trevisan (Treviño) 2019-12-12 14:52:23 +01:00
parent 5bed81025e
commit c3bf6fe863
2 changed files with 2 additions and 9 deletions

View file

@ -10,9 +10,6 @@ datadir = join_paths(prefix, get_option('datadir'))
executable('gtk-libfprint-test', executable('gtk-libfprint-test',
[ 'gtk-libfprint-test.c', gtk_test_resources ], [ 'gtk-libfprint-test.c', gtk_test_resources ],
dependencies: [ libfprint_dep, gtk_dep ], dependencies: [ libfprint_dep, gtk_dep ],
include_directories: [
root_inc,
],
c_args: '-DPACKAGE_VERSION="' + meson.project_version() + '"', c_args: '-DPACKAGE_VERSION="' + meson.project_version() + '"',
install: true, install: true,
install_dir: bindir) install_dir: bindir)

View file

@ -4,14 +4,10 @@ foreach example: examples
executable(example, executable(example,
[ example + '.c', 'storage.c', 'utilities.c' ], [ example + '.c', 'storage.c', 'utilities.c' ],
dependencies: [ libfprint_dep, glib_dep ], dependencies: [ libfprint_dep, glib_dep ],
include_directories: [ )
root_inc,
])
endforeach endforeach
executable('cpp-test', executable('cpp-test',
'cpp-test.cpp', 'cpp-test.cpp',
dependencies: libfprint_dep, dependencies: libfprint_dep,
include_directories: [ )
root_inc,
])