Skip to content

Commit

Permalink
Fix elseif
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Sep 15, 2023
1 parent 92364aa commit 93ef4b2
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")
else if(NOT TARGET CLHEP::CLHEP)
elseif(NOT TARGET CLHEP::CLHEP)
ADD_LIBRARY(CLHEP::CLHEP INTERFACE IMPORTED GLOBAL)
endif()
SET_TARGET_PROPERTIES(CLHEP::CLHEP
Expand Down

0 comments on commit 93ef4b2

Please sign in to comment.