only build srslte_radio when RF lib is found

master
Andre Puschmann 8 years ago
parent 5d5b847551
commit 07ece3b216

@ -17,7 +17,9 @@
# and at http://www.gnu.org/licenses/.
#
if(RF_FOUND)
add_library(srslte_radio SHARED radio.cc radio_multi.cc)
INSTALL(TARGETS srslte_radio DESTINATION ${LIBRARY_DIR})
target_link_libraries(srslte_radio srslte_rf)
SRSLTE_SET_PIC(srslte_radio)
endif(RF_FOUND)

Loading…
Cancel
Save