Skip to content
Snippets Groups Projects
Commit 4bc172b2 authored by Andre Sailer's avatar Andre Sailer
Browse files

Move find_package geant4 etc to base cmake lists to all the CLHEP variables are in global scope

parent 2503bb98
No related branches found
No related tags found
No related merge requests found
......@@ -114,6 +114,12 @@ IF(DD4HEP_USE_LCIO)
DD4HEP_SETUP_LCIO_TARGETS()
ENDIF()
IF(DD4HEP_USE_GEANT4)
find_package(Geant4 10.2.2 REQUIRED COMPONENTS gdml ui_all vis_all)
DD4HEP_SETUP_GEANT4_TARGETS()
endif()
######################
# Set compiler flags #
######################
......
......@@ -14,9 +14,6 @@ IF(NOT DD4HEP_USE_GEANT4)
RETURN()
ENDIF()
find_package(Geant4 10.2.2 REQUIRED COMPONENTS gdml ui_all vis_all)
DD4HEP_SETUP_GEANT4_TARGETS()
# dd4hep_package( DDG4
# USES [GEANT4 REQUIRED COMPONENTS gdml ui_all vis_all]
# [ROOT REQUIRED COMPONENTS Geom GenVector RIO]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment