aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp')
-rw-r--r--host/lib/usrp/mpmd/CMakeLists.txt3
-rw-r--r--host/lib/usrp/x300/CMakeLists.txt1
2 files changed, 3 insertions, 1 deletions
diff --git a/host/lib/usrp/mpmd/CMakeLists.txt b/host/lib/usrp/mpmd/CMakeLists.txt
index 1eab1f39b..5a6ce72c1 100644
--- a/host/lib/usrp/mpmd/CMakeLists.txt
+++ b/host/lib/usrp/mpmd/CMakeLists.txt
@@ -25,11 +25,12 @@ if(ENABLE_MPMD)
)
set_property(
SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/mpmd_link_if_mgr.cpp
- PROPERTY COMPILE_DEFINITIONS HAVE_LIBERIO
+ PROPERTY COMPILE_DEFINITIONS HAVE_LIBERIO
)
endif(ENABLE_LIBERIO)
if(ENABLE_DPDK)
+ include_directories(${DPDK_INCLUDE_DIRS})
set_property(
SOURCE
${CMAKE_CURRENT_SOURCE_DIR}/mpmd_link_if_ctrl_udp.cpp
diff --git a/host/lib/usrp/x300/CMakeLists.txt b/host/lib/usrp/x300/CMakeLists.txt
index b00ee357c..d5a7eee4f 100644
--- a/host/lib/usrp/x300/CMakeLists.txt
+++ b/host/lib/usrp/x300/CMakeLists.txt
@@ -37,6 +37,7 @@ if(ENABLE_X300)
)
if(ENABLE_DPDK)
+ include_directories(${DPDK_INCLUDE_DIRS})
add_definitions(-DHAVE_DPDK)
endif(ENABLE_DPDK)
endif(ENABLE_X300)