examples/l2fwd-cat: make build dependent on pqos lib
The l2fwd-cat example uses the pqos library to work, so make the meson build dependent on the presence of that library Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Tested-by: Harry van Haaren <harry.van.haaren@intel.com>
This commit is contained in:
parent
e89335c0f8
commit
dd25c80b4f
@ -6,7 +6,9 @@
|
||||
# To build this example as a standalone application with an already-installed
|
||||
# DPDK instance, use 'make'
|
||||
|
||||
ext_deps += cc.find_library('pqos')
|
||||
pqos = cc.find_library('pqos', required: false)
|
||||
build = pqos.found()
|
||||
ext_deps += pqos
|
||||
allow_experimental_apis = true
|
||||
cflags += '-D_GNU_SOURCE'
|
||||
cflags += '-I/usr/local/include' # assume pqos lib installed in /usr/local
|
||||
|
Loading…
Reference in New Issue
Block a user