From 0213045d74ec2e9315c7ee2049c92e7449ac103e Mon Sep 17 00:00:00 2001 From: yagoda Date: Thu, 9 May 2019 12:00:04 +0200 Subject: [PATCH] small cmake bugfix for case where srsenb is disabled --- lib/src/phy/CMakeLists.txt | 55 +++++++++++++------------------------- 1 file changed, 18 insertions(+), 37 deletions(-) diff --git a/lib/src/phy/CMakeLists.txt b/lib/src/phy/CMakeLists.txt index 242040b57..5a4b2707d 100644 --- a/lib/src/phy/CMakeLists.txt +++ b/lib/src/phy/CMakeLists.txt @@ -34,44 +34,25 @@ add_subdirectory(modem) add_subdirectory(resampling) add_subdirectory(scrambling) add_subdirectory(ue) -if(ENABLE_SRSENB) - add_subdirectory(enb) - set(srslte_srcs $ - $ - $ - $ - $ - $ - $ - $ - $ - $ - $ - $ - $ - $ - $ - $ - ) -else(ENABLE_SRSENB) - set(srslte_srcs $ - $ - $ - $ - $ - $ - $ - $ - $ - $ - $ - $ - $ - $ - $ - ) +add_subdirectory(enb) +set(srslte_srcs $ + $ + $ + $ + $ + $ + $ + $ + $ + $ + $ + $ + $ + $ + $ + $ + ) -endif(ENABLE_SRSENB) add_library(srslte_phy STATIC ${srslte_srcs})