From 05f4a0a64216761044ac4a91f19c2044b26518a6 Mon Sep 17 00:00:00 2001 From: gianelle Date: Mon, 14 Oct 2024 16:44:12 +0200 Subject: [PATCH] Add TMVA --- CMakeLists.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bd8823e..5acca25 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,8 +68,8 @@ find_package( DD4hep REQUIRED COMPONENTS DDRec) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${DD4hep_ROOT}/cmake ) include( DD4hep ) -find_package( ROOT REQUIRED ) -set( ROOT_COMPONENT_LIBRARIES Geom Reflex) +#find_package( ROOT REQUIRED ) +#set( ROOT_COMPONENT_LIBRARIES Geom Reflex TMVA) if(DD4HEP_USE_XERCESC) find_package(XercesC) @@ -78,8 +78,7 @@ include(DD4hep_XML_setup) INCLUDE_DIRECTORIES( BEFORE SYSTEM ${DD4hep_INCLUDE_DIRS} ) LINK_LIBRARIES( ${DD4hep_LIBRARIES} ${DD4hep_COMPONENT_LIBRARIES} ) -#FIND_PACKAGE( ROOT REQUIRED ) - +FIND_PACKAGE( ROOT REQUIRED COMPONENTS Geom TMVA) INCLUDE_DIRECTORIES( SYSTEM ${ROOT_INCLUDE_DIRS} ) LINK_LIBRARIES( ${ROOT_LIBRARIES} ) ADD_DEFINITIONS( ${ROOT_DEFINITIONS} )