git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc: add GRE option flow item to feature list
[dpdk.git]
/
examples
/
l2fwd-cat
/
meson.build
diff --git
a/examples/l2fwd-cat/meson.build
b/examples/l2fwd-cat/meson.build
index
29e5d0c
..
68554e7
100644
(file)
--- a/
examples/l2fwd-cat/meson.build
+++ b/
examples/l2fwd-cat/meson.build
@@
-6,10
+6,16
@@
# To build this example as a standalone application with an already-installed
# DPDK instance, use 'make'
# 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()
+if not build
+ subdir_done()
+endif
+
+ext_deps += pqos
allow_experimental_apis = true
allow_experimental_apis = true
-cflags += '-D_GNU_SOURCE'
cflags += '-I/usr/local/include' # assume pqos lib installed in /usr/local
sources = files(
cflags += '-I/usr/local/include' # assume pqos lib installed in /usr/local
sources = files(
- 'cat.c', 'l2fwd-cat.c'
+ 'cat.c',
+ 'l2fwd-cat.c',
)
)