From 441fe4925276be00088245887c0286ca600f4cd7 Mon Sep 17 00:00:00 2001
From: Dmitry Popov <Dmitry.Popov@cern.ch>
Date: Mon, 3 Jul 2017 21:33:28 +0200
Subject: [PATCH] Hadronic test's CMake cleanup

---
 LHCbG4Tests/G4HadronicXSectionsTest/CMakeLists.txt | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/LHCbG4Tests/G4HadronicXSectionsTest/CMakeLists.txt b/LHCbG4Tests/G4HadronicXSectionsTest/CMakeLists.txt
index 2d9961b63b..67ae3c02cc 100644
--- a/LHCbG4Tests/G4HadronicXSectionsTest/CMakeLists.txt
+++ b/LHCbG4Tests/G4HadronicXSectionsTest/CMakeLists.txt
@@ -1,20 +1,18 @@
 gaudi_depends_on_subdirs(Geant4/G4config)
 
 find_package(CLHEP REQUIRED)
-find_package(ROOT COMPONENTS Hist Gpad)
 
 include_directories(${CMAKE_INSTALL_PREFIX}/include)
 link_directories(${CMAKE_INSTALL_PREFIX}/lib)
 
 set(Geant4_LIBRARIES
     -lG4analysis
-    -lG4physics_lists
-    -lG4LHCblists)
+    -lG4physics_lists)
 
 gaudi_add_executable(G4HadronicXSectionsTest
                      G4HadronicXSectionsTest.cc src/*.cc
-                     INCLUDE_DIRS include CLHEP ROOT
-                     LINK_LIBRARIES ${Geant4_LIBRARIES} CLHEP ROOT)
+                     INCLUDE_DIRS include CLHEP
+                     LINK_LIBRARIES ${Geant4_LIBRARIES} CLHEP)
 
 add_dependencies(G4HadronicXSectionsTest Geant4)
 
-- 
GitLab