From 0f76ac586809a893de60898d2ec00f6cbe4560d9 Mon Sep 17 00:00:00 2001
From: Raphael Defosseux <raphael.defosseux@eurecom.fr>
Date: Thu, 27 Jun 2024 12:44:43 +0200
Subject: [PATCH] fix(T): some missing dependencies on T

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
---
 common/utils/nr/CMakeLists.txt            | 1 +
 common/utils/telnetsrv/CMakeLists.txt     | 1 +
 openair1/PHY/nr_phy_common/CMakeLists.txt | 1 +
 3 files changed, 3 insertions(+)

diff --git a/common/utils/nr/CMakeLists.txt b/common/utils/nr/CMakeLists.txt
index 6b58544a6db..979958d8770 100644
--- a/common/utils/nr/CMakeLists.txt
+++ b/common/utils/nr/CMakeLists.txt
@@ -1,5 +1,6 @@
 add_library(nr_common nr_common.c)
 target_include_directories(nr_common PUBLIC .)
+target_link_libraries(nr_common PRIVATE UTIL)
 if (ENABLE_TESTS)
   add_subdirectory(tests)
 endif()
diff --git a/common/utils/telnetsrv/CMakeLists.txt b/common/utils/telnetsrv/CMakeLists.txt
index 7f2d7a02e56..959812d73a9 100644
--- a/common/utils/telnetsrv/CMakeLists.txt
+++ b/common/utils/telnetsrv/CMakeLists.txt
@@ -36,6 +36,7 @@ add_library(telnetsrv MODULE
 )
 target_link_libraries(telnetsrv PRIVATE history)
 target_link_libraries(telnetsrv PRIVATE asn1_nr_rrc_hdrs asn1_lte_rrc_hdrs)
+target_link_libraries(telnetsrv PRIVATE UTIL)
 
 message(STATUS "Add enb specific telnet functions in libtelnetsrv_enb.so")
 add_library(telnetsrv_enb MODULE
diff --git a/openair1/PHY/nr_phy_common/CMakeLists.txt b/openair1/PHY/nr_phy_common/CMakeLists.txt
index 79dc8dd7f35..3ba2666b082 100644
--- a/openair1/PHY/nr_phy_common/CMakeLists.txt
+++ b/openair1/PHY/nr_phy_common/CMakeLists.txt
@@ -1,2 +1,3 @@
 add_library(nr_phy_common src/nr_phy_common.c)
+target_link_libraries(nr_phy_common PRIVATE UTIL)
 target_include_directories(nr_phy_common PUBLIC inc/)
-- 
GitLab