summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorQiuwen Lu <[email protected]>2017-03-01 14:23:49 +0800
committerQiuwen Lu <[email protected]>2017-03-01 14:23:49 +0800
commit59319e1dbd3e04015cff89c99626960148201024 (patch)
treef2ae381d3da259ee7f7ebadd3034a8eb0de545e5 /cmake
parenta7d9259366023784092254fa41d29ac80f40c503 (diff)
完成各模块的初始化流程,构建完成的程序初始化流程。
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindDPDK.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindDPDK.cmake b/cmake/FindDPDK.cmake
index 046a5fd..60539d3 100644
--- a/cmake/FindDPDK.cmake
+++ b/cmake/FindDPDK.cmake
@@ -106,7 +106,7 @@ endif()
# Additional library
file(GLOB DPDK_LIBRARY_GEN "${DPDK_LIBRARY_DIR}/librte*.a" "${DPDK_LIBRARY_DIR}/libeth*.a")
-set(DPDK_LIBRARY -Wl,--whole-archive ${DPDK_LIBRARY_GEN} -Wl,--no-whole-archive rt m dl)
+set(DPDK_LIBRARY -Wl,--whole-archive ${DPDK_LIBRARY_GEN} -Wl,--no-whole-archive rt m dl pcap)
# Force Include
set(DPDK_FORCE_INCLUDE "-include ${DPDK_INCLUDE_DIR}/rte_config.h")