summaryrefslogtreecommitdiffstats
path: root/internal/meson.build
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-12-24 07:51:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-12-24 07:51:44 +0000
commit4da5b4b2fba02bd3e78f16828359cef79a757911 (patch)
tree326db4edaddfc20f78fb048509fd646f497e2a65 /internal/meson.build
parentAdding upstream version 1.5. (diff)
downloadlibnvme-4da5b4b2fba02bd3e78f16828359cef79a757911.tar.xz
libnvme-4da5b4b2fba02bd3e78f16828359cef79a757911.zip
Adding upstream version 1.7.1.upstream/1.7.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'internal/meson.build')
-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',
+)