srsran_rf: fix warning of mismatching expressions in if() and endif()

This commit is contained in:
Robert Falkenberg 2022-03-01 15:09:50 +01:00
parent f7eb2a237b
commit 7410182c64
1 changed files with 4 additions and 4 deletions

View File

@ -48,7 +48,7 @@ if(RF_FOUND)
if (UHD_ENABLE_CUSTOM_RFNOC)
add_definitions(-DUHD_ENABLE_CUSTOM_RFNOC)
endif(UHD_ENABLE_CUSTOM_RFNOC)
endif (UHD_FOUND)
endif (UHD_FOUND AND ENABLE_UHD)
if (BLADERF_FOUND AND ENABLE_BLADERF)
add_definitions(-DENABLE_BLADERF)
@ -63,7 +63,7 @@ if(RF_FOUND)
endif (ENABLE_RF_PLUGINS)
target_link_libraries(srsran_rf_blade srsran_rf_utils srsran_phy ${BLADERF_LIBRARIES})
install(TARGETS srsran_rf_blade DESTINATION ${LIBRARY_DIR})
endif (BLADERF_FOUND)
endif (BLADERF_FOUND AND ENABLE_BLADERF)
if (SOAPYSDR_FOUND AND ENABLE_SOAPYSDR)
add_definitions(-DENABLE_SOAPYSDR)
@ -95,7 +95,7 @@ if(RF_FOUND)
endif (ENABLE_RF_PLUGINS)
target_link_libraries(srsran_rf_skiq srsran_rf_utils srsran_phy ${SKIQ_LIBRARIES} rt)
install(TARGETS srsran_rf_skiq DESTINATION ${LIBRARY_DIR})
endif(SKIQ_FOUND)
endif(SKIQ_FOUND AND ENABLE_SKIQ)
if (ZEROMQ_FOUND AND ENABLE_ZEROMQ)
add_definitions(-DENABLE_ZEROMQ)
@ -110,7 +110,7 @@ if(RF_FOUND)
endif (ENABLE_RF_PLUGINS)
target_link_libraries(srsran_rf_zmq srsran_rf_utils srsran_phy ${ZEROMQ_LIBRARIES})
install(TARGETS srsran_rf_zmq DESTINATION ${LIBRARY_DIR})
endif (ZEROMQ_FOUND)
endif (ZEROMQ_FOUND AND ENABLE_ZEROMQ)
# Add sources of file-based RF directly to the RF library (not as a plugin)
list(APPEND SOURCES_RF rf_file_imp.c rf_file_imp_tx.c rf_file_imp_rx.c)