build: Do not use C arguments with C++

Otherwise the C++ compiler will start to complain.

The C++ keyword test does not need additional warnings.
This commit is contained in:
Emmanuele Bassi 2021-05-11 12:24:34 +01:00
parent 6120519e8e
commit 6189e343f3

View File

@ -223,7 +223,6 @@ endforeach
if add_languages('cpp', required: false, native: false) if add_languages('cpp', required: false, native: false)
test_exe = executable('autotestkeywords', test_exe = executable('autotestkeywords',
sources: 'autotestkeywords.cc', sources: 'autotestkeywords.cc',
cpp_args: test_cargs,
dependencies: libgtk_dep, dependencies: libgtk_dep,
install: get_option('install-tests'), install: get_option('install-tests'),
install_dir: testexecdir, install_dir: testexecdir,