aboutsummaryrefslogtreecommitdiffstats
path: root/stacks/lwip_stack/tools/CMakeLists.txt
diff options
context:
space:
mode:
authornanger <zhenyinan@huawei.com>2018-09-29 16:41:15 +0800
committernanger <zhenyinan@huawei.com>2018-09-29 16:45:14 +0800
commit74c9aed15303d388d7d0429128bc3af96f7eb45c (patch)
treeb4659364e410ef5b0f36b61bbf98c48e5763d8e5 /stacks/lwip_stack/tools/CMakeLists.txt
parent31ea86798426cf236d70c9de1944c723a6cb1d95 (diff)
Refactor: change to dmm share memory
Change-Id: Iff87eb5c6610c1db9247a898dd4c8ffbe6eeabdf Signed-off-by: nanger <zhenyinan@huawei.com>
Diffstat (limited to 'stacks/lwip_stack/tools/CMakeLists.txt')
-rw-r--r--stacks/lwip_stack/tools/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/stacks/lwip_stack/tools/CMakeLists.txt b/stacks/lwip_stack/tools/CMakeLists.txt
index cfb5615..918cfd3 100644
--- a/stacks/lwip_stack/tools/CMakeLists.txt
+++ b/stacks/lwip_stack/tools/CMakeLists.txt
@@ -46,6 +46,7 @@ TARGET_LINK_LIBRARIES(
libjson-c.a
libglog.a
dmm_api
+ mem_mgr
-Wl,--no-whole-archive,-lstdc++ -ldl
rte_eal
rte_mempool
@@ -61,6 +62,7 @@ TARGET_LINK_LIBRARIES(
libjson-c.a
libglog.a
dmm_api
+ mem_mgr
-Wl,--no-whole-archive,-lstdc++ -ldl
rte_eal
rte_mempool
@@ -70,9 +72,9 @@ TARGET_LINK_LIBRARIES(
endif()
if(WITH_SECUREC_LIB)
-ADD_DEPENDENCIES(ntcpdump JSON GLOG SECUREC DPDK)
+ADD_DEPENDENCIES(ntcpdump mem_mgr JSON GLOG SECUREC DPDK)
else()
-ADD_DEPENDENCIES(ntcpdump JSON GLOG DPDK)
+ADD_DEPENDENCIES(ntcpdump mem_mgr JSON GLOG DPDK)
endif()