mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
meson: Use add_project_arguments for common cflags
We were passing around the common cflags and setting them for each library or executable, but this is just a repetition given we can just use add_project_arguments for this.
This commit is contained in:
@@ -13,10 +13,7 @@ executable('gtk-libfprint-test',
|
||||
include_directories: [
|
||||
root_inc,
|
||||
],
|
||||
c_args: [
|
||||
common_cflags,
|
||||
'-DPACKAGE_VERSION="' + meson.project_version() + '"'
|
||||
],
|
||||
c_args: '-DPACKAGE_VERSION="' + meson.project_version() + '"',
|
||||
install: true,
|
||||
install_dir: bindir)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user