Installing srslte_uhd lib

master
Paul Sutton 10 years ago
parent 3c7cebb86c
commit d7f7827e82

@ -74,6 +74,8 @@ IF(UHD_FOUND)
LINK_DIRECTORIES(${UHD_LIBRARY_DIRS}) LINK_DIRECTORIES(${UHD_LIBRARY_DIRS})
ADD_LIBRARY(srslte_uhd SHARED ${CMAKE_CURRENT_SOURCE_DIR}/cuhd/src/cuhd_imp.cpp ${CMAKE_CURRENT_SOURCE_DIR}/cuhd/src/cuhd_utils.c) ADD_LIBRARY(srslte_uhd SHARED ${CMAKE_CURRENT_SOURCE_DIR}/cuhd/src/cuhd_imp.cpp ${CMAKE_CURRENT_SOURCE_DIR}/cuhd/src/cuhd_utils.c)
TARGET_LINK_LIBRARIES(srslte_uhd ${UHD_LIBRARIES}) TARGET_LINK_LIBRARIES(srslte_uhd ${UHD_LIBRARIES})
INSTALL(TARGETS srslte_uhd DESTINATION ${LIBRARY_DIR})
SRSLTE_SET_PIC(srslte_uhd)
ENDIF(UHD_FOUND) ENDIF(UHD_FOUND)
INSTALL(TARGETS srslte DESTINATION ${LIBRARY_DIR}) INSTALL(TARGETS srslte DESTINATION ${LIBRARY_DIR})

Loading…
Cancel
Save