Fix compilation of c++ test: cpp_args

The correct meson argument for c++ is cpp_args.
Remove unnecessary(?) "-Idummy-headers" - breaks build
This commit is contained in:
Dan Cîrnaț 2021-05-04 13:52:21 +02:00
parent bd7b29a6c4
commit 12d591178e

View File

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