Provide package data dir for compiler option
This allows the code consuming data files to know where they are stored
instead of using hard coded values.
Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: I353128096103a5195df5ba05c02868517903813f
diff --git a/analyzer/meson.build b/analyzer/meson.build
index 909155d..5d0dabe 100644
--- a/analyzer/meson.build
+++ b/analyzer/meson.build
@@ -20,10 +20,10 @@
analyzer_src,
include_directories : incdir,
dependencies : analyzer_deps,
- cpp_args : test_arg,
+ cpp_args : [ package_args, test_arg ],
install : false,
)
-# Install the RAS data files
+# Install the RAS data files.
subdir('ras-data')