mirror of https://github.com/PentHertz/srsLTE.git
Skip nr_phy_test compilation without RF
This commit is contained in:
parent
aae266e848
commit
cc3ac83c14
|
@ -6,18 +6,20 @@
|
|||
# the distribution.
|
||||
#
|
||||
|
||||
add_executable(nr_phy_test nr_phy_test.cc)
|
||||
target_link_libraries(nr_phy_test
|
||||
srsue_phy_nr
|
||||
srsue_phy
|
||||
srsran_common
|
||||
srsran_phy
|
||||
srsran_radio
|
||||
srsenb_phy
|
||||
${CMAKE_THREAD_LIBS_INIT}
|
||||
${Boost_LIBRARIES}
|
||||
${CMAKE_THREAD_LIBS_INIT}
|
||||
${Boost_LIBRARIES}
|
||||
${ATOMIC_LIBS})
|
||||
if (RF_FOUND AND ENABLE_SRSUE AND ENABLE_SRSENB)
|
||||
add_executable(nr_phy_test nr_phy_test.cc)
|
||||
target_link_libraries(nr_phy_test
|
||||
srsue_phy_nr
|
||||
srsue_phy
|
||||
srsran_common
|
||||
srsran_phy
|
||||
srsran_radio
|
||||
srsenb_phy
|
||||
${CMAKE_THREAD_LIBS_INIT}
|
||||
${Boost_LIBRARIES}
|
||||
${CMAKE_THREAD_LIBS_INIT}
|
||||
${Boost_LIBRARIES}
|
||||
${ATOMIC_LIBS})
|
||||
|
||||
add_nr_test(nr_phy_test nr_phy_test)
|
||||
add_nr_test(nr_phy_test nr_phy_test)
|
||||
endif ()
|
Loading…
Reference in New Issue