meson: Rely on libfprint dependency to get root_include
No need to redefine it in all our tools
This commit is contained in:
parent
5bed81025e
commit
c3bf6fe863
2 changed files with 2 additions and 9 deletions
|
@ -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)
|
||||||
|
|
|
@ -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,
|
|
||||||
])
|
|
||||||
|
|
Loading…
Reference in a new issue