Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
dpdk: Only require libnuma on Linux
[vpp.git]
/
src
/
plugins
/
dpdk
/
CMakeLists.txt
diff --git
a/src/plugins/dpdk/CMakeLists.txt
b/src/plugins/dpdk/CMakeLists.txt
index
48b1548
..
48c56f3
100644
(file)
--- a/
src/plugins/dpdk/CMakeLists.txt
+++ b/
src/plugins/dpdk/CMakeLists.txt
@@
-90,8
+90,10
@@
else()
##############################################################################
# libnuma
##############################################################################
##############################################################################
# libnuma
##############################################################################
- vpp_plugin_find_library(dpdk NUMA_LIB "numa")
- list(APPEND DPDK_LINK_LIBRARIES ${NUMA_LIB})
+ if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
+ vpp_plugin_find_library(dpdk NUMA_LIB "numa")
+ list(APPEND DPDK_LINK_LIBRARIES ${NUMA_LIB})
+ endif()
##############################################################################
# Mellanox libraries
##############################################################################
# Mellanox libraries