Skip to content

Commit

Permalink
Add TMVA
Browse files Browse the repository at this point in the history
  • Loading branch information
gianelle committed Oct 14, 2024
1 parent 97a973d commit 05f4a0a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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} )
Expand Down

0 comments on commit 05f4a0a

Please sign in to comment.