From 0534b67582cde34ff82cc8ab4353e6ad2d901838 Mon Sep 17 00:00:00 2001
From: Dmitry Popov <Dmitry.Popov@cern.ch>
Date: Sun, 24 Sep 2017 15:39:46 +0200
Subject: [PATCH] Fixed 10.3.2 linking libs names in LHCbTests/PhysLists

---
 LHCbG4PhysLists/CMakeLists.txt                     | 2 +-
 LHCbG4Tests/G4HadronicXSectionsTest/CMakeLists.txt | 2 +-
 LHCbG4Tests/G4MScInThinLayerTest/CMakeLists.txt    | 2 +-
 LHCbG4Tests/G4RichTbSimHTest/CMakeLists.txt        | 3 +--
 LHCbG4Tests/G4SamplingCaloTest/CMakeLists.txt      | 2 +-
 5 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/LHCbG4PhysLists/CMakeLists.txt b/LHCbG4PhysLists/CMakeLists.txt
index db919d5e67..cb7a79c0c6 100644
--- a/LHCbG4PhysLists/CMakeLists.txt
+++ b/LHCbG4PhysLists/CMakeLists.txt
@@ -9,7 +9,7 @@ link_directories(${CMAKE_INSTALL_PREFIX}/lib)
 
 set(Geant4_LIBRARIES
   -lG4global
-  -lG4physics_lists
+  -lG4physicslists
   -lG4processes
   -lG4particles
   -lG4persistency
diff --git a/LHCbG4Tests/G4HadronicXSectionsTest/CMakeLists.txt b/LHCbG4Tests/G4HadronicXSectionsTest/CMakeLists.txt
index 9459a591e4..17fa330e40 100644
--- a/LHCbG4Tests/G4HadronicXSectionsTest/CMakeLists.txt
+++ b/LHCbG4Tests/G4HadronicXSectionsTest/CMakeLists.txt
@@ -10,7 +10,7 @@ link_directories(${CMAKE_INSTALL_PREFIX}/lib)
 
 set(Geant4_LIBRARIES
     -lG4analysis
-    -lG4physics_lists
+    -lG4physicslists
     -lG4intercoms
     -lG4global
     -lG4run
diff --git a/LHCbG4Tests/G4MScInThinLayerTest/CMakeLists.txt b/LHCbG4Tests/G4MScInThinLayerTest/CMakeLists.txt
index d42077f7e3..834a1be629 100644
--- a/LHCbG4Tests/G4MScInThinLayerTest/CMakeLists.txt
+++ b/LHCbG4Tests/G4MScInThinLayerTest/CMakeLists.txt
@@ -11,7 +11,7 @@ link_directories(${CMAKE_INSTALL_PREFIX}/lib)
 
 set(Geant4_LIBRARIES
     -lG4analysis
-    -lG4physics_lists
+    -lG4physicslists
     -lG4intercoms
     -lG4event
     -lG4tracking
diff --git a/LHCbG4Tests/G4RichTbSimHTest/CMakeLists.txt b/LHCbG4Tests/G4RichTbSimHTest/CMakeLists.txt
index 6a9f7be101..4d31acd977 100644
--- a/LHCbG4Tests/G4RichTbSimHTest/CMakeLists.txt
+++ b/LHCbG4Tests/G4RichTbSimHTest/CMakeLists.txt
@@ -15,8 +15,7 @@ set(Geant4_LIBRARIES
     -lG4event
     -lG4vis_management
     -lG4OpenGL
-    -lG4UIbasic
-    -lG4UIGAG)
+    -lG4interfaces)
 
 gaudi_add_executable(G4RichTbSimHTest
         src/srcmain/RichTbSim.cc
diff --git a/LHCbG4Tests/G4SamplingCaloTest/CMakeLists.txt b/LHCbG4Tests/G4SamplingCaloTest/CMakeLists.txt
index d3ecb4ff9e..4d06859130 100644
--- a/LHCbG4Tests/G4SamplingCaloTest/CMakeLists.txt
+++ b/LHCbG4Tests/G4SamplingCaloTest/CMakeLists.txt
@@ -10,7 +10,7 @@ link_directories(${CMAKE_INSTALL_PREFIX}/lib)
 
 set(Geant4_LIBRARIES
     -lG4analysis
-    -lG4physics_lists
+    -lG4physicslists
     -lG4intercoms
     -lG4event
     -lG4tracking
-- 
GitLab