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

Hadronic test's CMake cleanup

parent d84ad187
No related branches found
No related tags found
1 merge request!24Migrate 'master' to G4 v10r3p3
gaudi_depends_on_subdirs(Geant4/G4config) gaudi_depends_on_subdirs(Geant4/G4config)
find_package(CLHEP REQUIRED) find_package(CLHEP REQUIRED)
find_package(ROOT COMPONENTS Hist Gpad)
include_directories(${CMAKE_INSTALL_PREFIX}/include) include_directories(${CMAKE_INSTALL_PREFIX}/include)
link_directories(${CMAKE_INSTALL_PREFIX}/lib) link_directories(${CMAKE_INSTALL_PREFIX}/lib)
set(Geant4_LIBRARIES set(Geant4_LIBRARIES
-lG4analysis -lG4analysis
-lG4physics_lists -lG4physics_lists)
-lG4LHCblists)
gaudi_add_executable(G4HadronicXSectionsTest gaudi_add_executable(G4HadronicXSectionsTest
G4HadronicXSectionsTest.cc src/*.cc G4HadronicXSectionsTest.cc src/*.cc
INCLUDE_DIRS include CLHEP ROOT INCLUDE_DIRS include CLHEP
LINK_LIBRARIES ${Geant4_LIBRARIES} CLHEP ROOT) LINK_LIBRARIES ${Geant4_LIBRARIES} CLHEP)
add_dependencies(G4HadronicXSectionsTest Geant4) add_dependencies(G4HadronicXSectionsTest Geant4)
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment