fix srsUE build without RF driver

master
Andre Puschmann 8 years ago
parent 928ef71b82
commit 5ed2c3d5a5

@ -293,8 +293,12 @@ include_directories(${PROJECT_SOURCE_DIR}/lib/include/srslte)
########################################################################
add_subdirectory(lib)
if(NOT DISABLE_SRSUE)
message(STATUS "Building with srsUE")
add_subdirectory(srsue)
if(RF_FOUND)
message(STATUS "Building with srsUE")
add_subdirectory(srsue)
else(RF_FOUND)
message(STATUS "Building without srsUE due to missing RF driver")
endif(RF_FOUND)
else(NOT DISABLE_SRSUE)
message(STATUS "Building without srsUE")
endif(NOT DISABLE_SRSUE)

Loading…
Cancel
Save