]> git.droids-corp.org - dpdk.git/commitdiff
examples/fips_validation: add jansson dependency
authorBrandon Lo <blo@iol.unh.edu>
Mon, 30 May 2022 15:52:35 +0000 (21:22 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Wed, 1 Jun 2022 14:26:35 +0000 (16:26 +0200)
Added a check for RTE_HAS_JANSSON into the meson
configuration file for JSON support.

Signed-off-by: Brandon Lo <blo@iol.unh.edu>
Acked-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
Tested-by: Jakub Poczatek <jakub.poczatek@intel.com>
examples/fips_validation/meson.build

index 7eef4563189f70c6e4cb5e01b93abd143f43a19f..8cd63066b51b6e4b17677c40e9c054eb1aa68643 100644 (file)
@@ -21,3 +21,7 @@ sources = files(
         'fips_dev_self_test.c',
         'main.c',
 )
+
+if dpdk_conf.has('RTE_HAS_JANSSON')
+    ext_deps += jansson_dep
+endif