From c3eb92abb450aee2e3a798218ca2d309524dab11 Mon Sep 17 00:00:00 2001
From: Mattias Ellert <mattias.ellert@physics.uu.se>
Date: Sat, 14 Oct 2023 15:51:16 +0200
Subject: [PATCH] src/RBDT.cxx is a source file of libTMVAUtils and should not
also be a source file of libTMVA. Remove it. Adjust test using symbols
defined in this source file to link to libTMVAUtils instead of libTMVA.
---
tmva/tmva/CMakeLists.txt | 1 -
tmva/tmva/test/CMakeLists.txt | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/tmva/tmva/CMakeLists.txt b/tmva/tmva/CMakeLists.txt
index 84efce9d59..109f4c1021 100644
--- a/tmva/tmva/CMakeLists.txt
+++ b/tmva/tmva/CMakeLists.txt
@@ -334,7 +334,6 @@ ROOT_STANDARD_LIBRARY_PACKAGE(TMVA
src/PDEFoamVect.cxx
src/PDF.cxx
src/QuickMVAProbEstimator.cxx
- src/RBDT.cxx
src/Ranking.cxx
src/Reader.cxx
src/RegressionVariance.cxx
diff --git a/tmva/tmva/test/CMakeLists.txt b/tmva/tmva/test/CMakeLists.txt
index ebe1be187b..5dcf5175f2 100644
--- a/tmva/tmva/test/CMakeLists.txt
+++ b/tmva/tmva/test/CMakeLists.txt
@@ -29,7 +29,7 @@ if(dataframe)
# Tree inference system and user interface
if(NOT MSVC OR llvm13_broken_tests)
ROOT_ADD_GTEST(branchlessForest branchlessForest.cxx LIBRARIES TMVA)
- ROOT_ADD_GTEST(rbdt rbdt.cxx LIBRARIES ROOTVecOps TMVA)
+ ROOT_ADD_GTEST(rbdt rbdt.cxx LIBRARIES ROOTVecOps TMVAUtils)
endif()
endif()
--
2.41.0