Commit 5cab70f0 authored by Paolo Bacchilega's avatar Paolo Bacchilega
Browse files

meson: use get_supported_arguments (requires version 0.43)

parent cc4377ff
project('gthumb', ['c', 'cpp'],
license : 'GPL2+',
version : '3.8.2',
meson_version : '>=0.42.1'
meson_version : '>=0.43'
)
glib_version = '>=2.38.0'
......@@ -320,12 +320,7 @@ else
c_args += [ '-Wno-deprecated-declarations' ]
test_args = [ '-Wall' ]
endif
#c_args += c_comp.get_supported_arguments(test_args)
foreach arg : test_args
if c_comp.has_argument(arg)
c_args += arg
endif
endforeach
c_args += c_comp.get_supported_arguments(test_args)
# Subdirectories
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment