diff options
Diffstat (limited to 'host/lib/usrp/mpmd/CMakeLists.txt')
-rw-r--r-- | host/lib/usrp/mpmd/CMakeLists.txt | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/host/lib/usrp/mpmd/CMakeLists.txt b/host/lib/usrp/mpmd/CMakeLists.txt index 5bc8e2d08..e4ce0e316 100644 --- a/host/lib/usrp/mpmd/CMakeLists.txt +++ b/host/lib/usrp/mpmd/CMakeLists.txt @@ -17,14 +17,23 @@ IF(ENABLE_MPMD) IF(ENABLE_LIBERIO) - MESSAGE(STATUS "Compiling MPM with liberio support...") - ADD_DEFINITIONS(-DHAVE_LIBERIO) + MESSAGE(STATUS "Compiling MPMD with liberio support...") + ADD_DEFINITIONS(-DHAVE_LIBERIO) ENDIF(ENABLE_LIBERIO) LIBUHD_APPEND_SOURCES( + ${CMAKE_CURRENT_SOURCE_DIR}/mpmd_image_loader.cpp ${CMAKE_CURRENT_SOURCE_DIR}/mpmd_impl.cpp ${CMAKE_CURRENT_SOURCE_DIR}/mpmd_mboard_impl.cpp ${CMAKE_CURRENT_SOURCE_DIR}/mpmd_xport.cpp - ${CMAKE_CURRENT_SOURCE_DIR}/mpmd_image_loader.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/mpmd_xport_mgr.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/mpmd_xport_ctrl_udp.cpp ) + + IF(ENABLE_LIBERIO) + LIBUHD_APPEND_SOURCES( + ${CMAKE_CURRENT_SOURCE_DIR}/mpmd_xport_ctrl_liberio.cpp + ) + ENDIF(ENABLE_LIBERIO) + ENDIF(ENABLE_MPMD) |