Skip to content
Snippets Groups Projects
Commit 42e4e7a3 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Link GaudiExamples to ROOTHist for ROOT::RHist (ROOT >= 6.20)

parent 6ac1ebed
Branches
No related tags found
No related merge requests found
......@@ -14,7 +14,12 @@ gaudi_depends_on_subdirs(GaudiKernel GaudiUtils GaudiAlg RootCnv)
find_package(AIDA)
find_package(HepPDT)
find_package(ROOT COMPONENTS Tree RIO Hist Net REQUIRED)
find_package(ROOT COMPONENTS Core REQUIRED)
if(${ROOT_VERSION_MAJOR}.${ROOT_VERSION_MINOR} VERSION_LESS 6.20)
find_package(ROOT COMPONENTS Tree RIO Hist Net REQUIRED)
else()
find_package(ROOT COMPONENTS Tree RIO Hist Net ROOTHist REQUIRED)
endif()
find_package(Boost COMPONENTS python${boost_python_version} REQUIRED)
find_package(CLHEP)
find_package(PythonLibs REQUIRED)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment