summaryrefslogtreecommitdiffstats
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/meson.build9
1 files changed, 9 insertions, 0 deletions
diff --git a/internal/meson.build b/internal/meson.build
index fde4cca..744f83e 100644
--- a/internal/meson.build
+++ b/internal/meson.build
@@ -19,3 +19,12 @@ internal_incdir = include_directories('.')
config_dep = declare_dependency(
include_directories : internal_incdir,
sources: config_h)
+
+config_h_path = meson.current_build_dir() / 'config.h'
+
+add_project_arguments(
+ [
+ '-include', config_h_path,
+ ],
+ language : 'c',
+)