aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/mpmd/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp/mpmd/CMakeLists.txt')
-rw-r--r--host/lib/usrp/mpmd/CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/host/lib/usrp/mpmd/CMakeLists.txt b/host/lib/usrp/mpmd/CMakeLists.txt
index 774ad6593..67e08fc91 100644
--- a/host/lib/usrp/mpmd/CMakeLists.txt
+++ b/host/lib/usrp/mpmd/CMakeLists.txt
@@ -10,6 +10,11 @@ if(ENABLE_MPMD)
add_definitions(-DHAVE_LIBERIO)
endif(ENABLE_LIBERIO)
+ if(ENABLE_DPDK)
+ message(STATUS "Compiling MPMD with DPDK support...")
+ add_definitions(-DHAVE_DPDK)
+ endif(ENABLE_DPDK)
+
LIBUHD_APPEND_SOURCES(
${CMAKE_CURRENT_SOURCE_DIR}/mpmd_find.cpp
${CMAKE_CURRENT_SOURCE_DIR}/mpmd_image_loader.cpp
@@ -27,4 +32,10 @@ if(ENABLE_MPMD)
)
endif(ENABLE_LIBERIO)
+ if(ENABLE_DPDK)
+ LIBUHD_APPEND_SOURCES(
+ ${CMAKE_CURRENT_SOURCE_DIR}/mpmd_xport_ctrl_dpdk_udp.cpp
+ )
+ endif(ENABLE_DPDK)
+
endif(ENABLE_MPMD)