From b92ee59d419443efca4f423760e97d3af0c8bb5f Mon Sep 17 00:00:00 2001
From: Bartosz Podrygajlo <bartosz.podrygajlo@openairinterface.org>
Date: Mon, 16 Dec 2024 15:21:11 +0100
Subject: [PATCH] Fix instrumentation target for old CMake versions

Older make versions do not support source files to be added to INTERFACE
type target. The source file is not needed there so it was removed.
---
 common/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt
index 229c93b0432..f58880b04a4 100644
--- a/common/CMakeLists.txt
+++ b/common/CMakeLists.txt
@@ -3,7 +3,7 @@ add_subdirectory(config/yaml)
 
 configure_file(oai_version.h.in oai_version.h @ONLY)
 
-add_library(instrumentation INTERFACE instrumentation.h)
+add_library(instrumentation INTERFACE)
 target_include_directories(instrumentation INTERFACE .)
 if (TRACY_ENABLE)
   target_link_libraries(instrumentation INTERFACE Tracy::TracyClient)
-- 
GitLab