Skip to content
Snippets Groups Projects
Commit 510bda89 authored by Dmitry Popov's avatar Dmitry Popov
Browse files

Update CMakeList of G4RichTbSimHTest to ignore warnings from CLHEP and ROOT

parent 34ca139a
Branches
Tags
1 merge request!24Migrate 'master' to G4 v10r3p3
......@@ -6,7 +6,7 @@ find_package(CLHEP REQUIRED COMPONENTS Random)
find_package(ROOT REQUIRED COMPONENTS Hist Tree RIO)
find_package(TBB)
include_directories(${CMAKE_INSTALL_PREFIX}/include)
include_directories(SYSTEM ${CMAKE_INSTALL_PREFIX}/include ${CLHEP_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS})
link_directories(${CMAKE_INSTALL_PREFIX}/lib)
set(Geant4_LIBRARIES
......@@ -39,7 +39,4 @@ 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()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment