@ -24,7 +24,7 @@ if(RF_FOUND)
endif ( ENABLE_RF_PLUGINS )
endif ( ENABLE_RF_PLUGINS )
# R F p l u g i n s
# R F p l u g i n s
if ( UHD_FOUND )
if ( UHD_FOUND AND ENABLE_UHD )
add_definitions ( -DENABLE_UHD )
add_definitions ( -DENABLE_UHD )
set ( SOURCES_UHD rf_uhd_imp.cc )
set ( SOURCES_UHD rf_uhd_imp.cc )
if ( ENABLE_RF_PLUGINS )
if ( ENABLE_RF_PLUGINS )
@ -50,7 +50,7 @@ if(RF_FOUND)
endif ( UHD_ENABLE_CUSTOM_RFNOC )
endif ( UHD_ENABLE_CUSTOM_RFNOC )
endif ( UHD_FOUND )
endif ( UHD_FOUND )
if ( BLADERF_FOUND )
if ( BLADERF_FOUND AND ENABLE_BLADERF )
add_definitions ( -DENABLE_BLADERF )
add_definitions ( -DENABLE_BLADERF )
set ( SOURCES_BLADE rf_blade_imp.c )
set ( SOURCES_BLADE rf_blade_imp.c )
if ( ENABLE_RF_PLUGINS )
if ( ENABLE_RF_PLUGINS )
@ -80,7 +80,7 @@ if(RF_FOUND)
install ( TARGETS srsran_rf_soapy DESTINATION ${ LIBRARY_DIR } )
install ( TARGETS srsran_rf_soapy DESTINATION ${ LIBRARY_DIR } )
endif ( SOAPYSDR_FOUND AND ENABLE_SOAPYSDR )
endif ( SOAPYSDR_FOUND AND ENABLE_SOAPYSDR )
if ( SKIQ_FOUND )
if ( SKIQ_FOUND AND ENABLE_SKIQ )
add_executable ( skiq_pps_test skiq_pps_test.c )
add_executable ( skiq_pps_test skiq_pps_test.c )
target_link_libraries ( skiq_pps_test ${ SKIQ_LIBRARIES } rt pthread m )
target_link_libraries ( skiq_pps_test ${ SKIQ_LIBRARIES } rt pthread m )
add_definitions ( -DENABLE_SIDEKIQ )
add_definitions ( -DENABLE_SIDEKIQ )
@ -97,7 +97,7 @@ if(RF_FOUND)
install ( TARGETS srsran_rf_skiq DESTINATION ${ LIBRARY_DIR } )
install ( TARGETS srsran_rf_skiq DESTINATION ${ LIBRARY_DIR } )
endif ( SKIQ_FOUND )
endif ( SKIQ_FOUND )
if ( ZEROMQ_FOUND )
if ( ZEROMQ_FOUND AND ENABLE_ZEROMQ )
add_definitions ( -DENABLE_ZEROMQ )
add_definitions ( -DENABLE_ZEROMQ )
set ( SOURCES_ZMQ rf_zmq_imp.c rf_zmq_imp_tx.c rf_zmq_imp_rx.c )
set ( SOURCES_ZMQ rf_zmq_imp.c rf_zmq_imp_tx.c rf_zmq_imp_rx.c )
if ( ENABLE_RF_PLUGINS )
if ( ENABLE_RF_PLUGINS )