Commit 42e4e7a3 authored by Marco Clemencic's avatar Marco Clemencic

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

parent 6ac1ebed
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment