mirror of https://github.com/PentHertz/srsLTE.git
only build srslte_radio when RF lib is found
This commit is contained in:
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…
Reference in New Issue