diff --git a/CMakeLists.txt b/CMakeLists.txt index b52e4306..f8f0a4ea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,10 +70,10 @@ if(Geant4_FOUND) message(STATUS "Found Geant4 v" ${Geant4_VERSION}) endif() -if (Geant4_VERSION VERSION_GREATER_EQUAL "11.2.0") - set(RMG_HAS_GEANT4_11_2_OR_LATER 1) +if(Geant4_VERSION VERSION_GREATER_EQUAL "11.2.0") + set(RMG_HAS_GEANT4_11_2_OR_LATER 1) else() - set(RMG_HAS_GEANT4_11_2_OR_LATER 0) + set(RMG_HAS_GEANT4_11_2_OR_LATER 0) endif() # check for optional components