diff --git a/LHCbG4Tests/G4HadronicXSectionsTest/CMakeLists.txt b/LHCbG4Tests/G4HadronicXSectionsTest/CMakeLists.txt index 17fa330e40f53b160a73884bf68b30e14659dbd6..e347619466b43850a29f0bb175b5e15e96212e35 100644 --- a/LHCbG4Tests/G4HadronicXSectionsTest/CMakeLists.txt +++ b/LHCbG4Tests/G4HadronicXSectionsTest/CMakeLists.txt @@ -28,4 +28,7 @@ gaudi_add_executable(G4HadronicXSectionsTest add_dependencies(G4HadronicXSectionsTest Geant4) +# Dirty fix to disable the pesky warning +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-suggest-override") + gaudi_install_scripts() diff --git a/LHCbG4Tests/G4MScInThinLayerTest/CMakeLists.txt b/LHCbG4Tests/G4MScInThinLayerTest/CMakeLists.txt index 834a1be6295c2fc51eff6029d3ae8099cf6a46c3..9ddb1b839a87bba17f0d7d56e91a6e2434615776 100644 --- a/LHCbG4Tests/G4MScInThinLayerTest/CMakeLists.txt +++ b/LHCbG4Tests/G4MScInThinLayerTest/CMakeLists.txt @@ -26,4 +26,7 @@ gaudi_add_executable(G4MScInThinLayerTest add_dependencies(G4MScInThinLayerTest Geant4) +# Dirty fix to disable the pesky warning +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-suggest-override") + gaudi_install_scripts() diff --git a/LHCbG4Tests/G4RichTbSimHTest/CMakeLists.txt b/LHCbG4Tests/G4RichTbSimHTest/CMakeLists.txt index 3c5127bc89b4f939f496f4424703c771724a09e1..0cd59f13b4cf192239b17220d3bad1e2dae0e4dd 100644 --- a/LHCbG4Tests/G4RichTbSimHTest/CMakeLists.txt +++ b/LHCbG4Tests/G4RichTbSimHTest/CMakeLists.txt @@ -39,4 +39,7 @@ gaudi_add_executable(G4RichTbSimHTest add_dependencies(G4RichTbSimHTest Geant4) +# Dirty fix to disable the pesky warning +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-suggest-override") + gaudi_install_scripts() diff --git a/LHCbG4Tests/G4SamplingCaloTest/CMakeLists.txt b/LHCbG4Tests/G4SamplingCaloTest/CMakeLists.txt index 4d0685913014afa5bf5c8c348fd096b1a66ba35a..f04a0d5cc0aa1715e7dbb78ebfcdb2763259fea9 100644 --- a/LHCbG4Tests/G4SamplingCaloTest/CMakeLists.txt +++ b/LHCbG4Tests/G4SamplingCaloTest/CMakeLists.txt @@ -25,4 +25,7 @@ gaudi_add_executable(G4SamplingCaloTest add_dependencies(G4SamplingCaloTest Geant4) +# Dirty fix to disable the pesky warning +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-suggest-override") + gaudi_install_scripts()