Skip to content

Commit

Permalink
build: Geant4 CMakeList fix (#2252)
Browse files Browse the repository at this point in the history
Look for Geant4 also if only the plugin is enabled.
  • Loading branch information
H4m5t3r committed Jul 6, 2023
1 parent 0ad1e47 commit 0eebf3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ if(ACTS_BUILD_PLUGIN_EDM4HEP)
find_package(podio ${_acts_podio_version} REQUIRED CONFIG)
find_package(EDM4HEP ${_acts_edm4hep_version} REQUIRED CONFIG)
endif()
if(ACTS_BUILD_EXAMPLES_GEANT4)
if(ACTS_BUILD_PLUGIN_GEANT4)
find_package(Geant4 REQUIRED CONFIG COMPONENTS gdml)
endif()
if(ACTS_BUILD_EXAMPLES_HEPMC3)
Expand Down

0 comments on commit 0eebf3b

Please sign in to comment.