Skip to content

Commit

Permalink
Change to else()
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Sep 15, 2023
1 parent 93ef4b2 commit 855ac95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/DD4hepBuild.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ MACRO(DD4HEP_SETUP_GEANT4_TARGETS)
dd4hep_debug("Using Geant4 internal CLHEP")
if(TARGET CLHEP::CLHEP)
message(WARNING "CLHEP::CLHEP already exists, this may cause problems if there are two different installations of CLHEP, one from Geant4 and one external")
elseif(NOT TARGET CLHEP::CLHEP)
else()
ADD_LIBRARY(CLHEP::CLHEP INTERFACE IMPORTED GLOBAL)
endif()
SET_TARGET_PROPERTIES(CLHEP::CLHEP
Expand Down

0 comments on commit 855ac95

Please sign in to comment.