summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorQiuwen Lu <[email protected]>2019-06-11 19:57:11 +0800
committerQiuwen Lu <[email protected]>2019-06-11 19:57:11 +0800
commit8af98eecca48a90b405c13949318b3f2c9d1a025 (patch)
treec3c98d37c9a73ac31f8c57b3cf3985b84d69e643 /cmake
parent7d286a2705add2a72e6c39b4de2d33583bf2003c (diff)
适配DPDK17.11.6
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindDPDK.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/FindDPDK.cmake b/cmake/FindDPDK.cmake
index 60539d3..6b037c6 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 pcap)
+set(DPDK_LIBRARY -Wl,--whole-archive ${DPDK_LIBRARY_GEN} -Wl,--no-whole-archive rt m dl pcap numa)
# Force Include
set(DPDK_FORCE_INCLUDE "-include ${DPDK_INCLUDE_DIR}/rte_config.h")
@@ -121,4 +121,4 @@ mark_as_advanced(
DPDK_LIBRARY
DPDK_C_PREDEFINED
DPDK_CXX_PREDEFINED
-) \ No newline at end of file
+)