We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ede0df6 commit 901c7edCopy full SHA for 901c7ed
meson.build
@@ -375,12 +375,12 @@ if gettext
375
config_data.set('ENABLE_GETTEXT', 1)
376
endif
377
378
-configure_file(
+config_h = configure_file(
379
output: 'config.h',
380
configuration: config_data,
381
)
382
383
-compiler_common_flags += ['-include', 'config.h']
+compiler_common_flags += ['-include', config_h.full_path()]
384
385
add_project_arguments(compiler_common_flags + compiler_c_flags, language: 'c')
386
add_project_arguments(compiler_common_flags + compiler_cpp_flags, language: 'cpp')
0 commit comments