Skip to content

Commit 226d1ac

Browse files
authored
Merge pull request #723 from ThomasDeschler/geant4-11.3.0-compatibility
Gate v9.4.1: Fixing CMake configuration issues with Geant4 v11.3.0.
2 parents 67b037e + 01583f9 commit 226d1ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ STRING(REGEX REPLACE "(.*)[.](.*)[.](.*)" "\\3" G4VERSION_PATCH ${Geant4_VERSION
9898
#MESSAGE(${G4VERSION_MAJOR})
9999
#MESSAGE(${G4VERSION_MINOR})
100100
#MESSAGE(${G4VERSION_PATCH})
101-
IF(NOT ${G4VERSION_MAJOR}.${G4VERSION_MINOR} EQUAL 11.2)
102-
MESSAGE("Warning! This GATE version is not validated for Geant4 ${G4VERSION_MAJOR}.${G4VERSION_MINOR} distribution. Please use Geant4 11.2 distribution instead.")
101+
IF(NOT ${G4VERSION_MAJOR}.${G4VERSION_MINOR} EQUAL 11.3)
102+
MESSAGE("Warning! This GATE version is not validated for Geant4 ${G4VERSION_MAJOR}.${G4VERSION_MINOR} distribution. Please use Geant4 11.3 distribution instead.")
103103
ENDIF()
104104

105105
#=========================================================

0 commit comments

Comments
 (0)