disable prach_test_usrp compilation if no RF is selected

master
Andre Puschmann 4 years ago
parent 611a1c667f
commit 9f98bb3f54

@ -582,8 +582,7 @@ add_test(prach_test_multi_n16 prach_test_multi -n 16)
add_test(prach_test_multi_n8 prach_test_multi -n 8) add_test(prach_test_multi_n8 prach_test_multi -n 8)
add_test(prach_test_multi_n4 prach_test_multi -n 4) add_test(prach_test_multi_n4 prach_test_multi -n 4)
if(RF_FOUND)
if(UHD_FOUND)
add_executable(prach_test_usrp prach_test_usrp.c) add_executable(prach_test_usrp prach_test_usrp.c)
target_link_libraries(prach_test_usrp srslte_rf srslte_phy pthread) target_link_libraries(prach_test_usrp srslte_rf srslte_phy pthread)
endif(UHD_FOUND) endif(RF_FOUND)

Loading…
Cancel
Save