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:
@@ -6,8 +6,7 @@ foreach example: examples
|
||||
dependencies: [ libfprint_dep, glib_dep ],
|
||||
include_directories: [
|
||||
root_inc,
|
||||
],
|
||||
c_args: common_cflags)
|
||||
])
|
||||
endforeach
|
||||
|
||||
executable('cpp-test',
|
||||
@@ -15,5 +14,4 @@ executable('cpp-test',
|
||||
dependencies: libfprint_dep,
|
||||
include_directories: [
|
||||
root_inc,
|
||||
],
|
||||
c_args: common_cflags)
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user