diff --git a/lib/examples/CMakeLists.txt b/lib/examples/CMakeLists.txt index fb44f0fce..652a2c195 100644 --- a/lib/examples/CMakeLists.txt +++ b/lib/examples/CMakeLists.txt @@ -30,16 +30,20 @@ target_link_libraries(synch_file srslte_phy) # These can be compiled without UHD or graphics support ################################################################# -add_executable(pdsch_ue pdsch_ue.c) -target_link_libraries(pdsch_ue srslte_phy srslte_rf pthread) - -add_executable(pdsch_enodeb pdsch_enodeb.c) -target_link_libraries(pdsch_enodeb srslte_phy srslte_rf pthread) - if(RF_FOUND) + add_executable(pdsch_ue pdsch_ue.c) + target_link_libraries(pdsch_ue srslte_phy srslte_rf pthread) + add_executable(pdsch_enodeb pdsch_enodeb.c) + target_link_libraries(pdsch_enodeb srslte_phy srslte_rf pthread) else(RF_FOUND) add_definitions(-DDISABLE_RF) + + add_executable(pdsch_ue pdsch_ue.c) + target_link_libraries(pdsch_ue srslte_phy pthread) + + add_executable(pdsch_enodeb pdsch_enodeb.c) + target_link_libraries(pdsch_enodeb srslte_phy pthread) endif(RF_FOUND) find_package(SRSGUI)