Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/cmake/Templates/Geant4ConfigVersion.cmake.in is written in an unsupported language. File is not indexed.

0001 # - Geant4 CMake Versioning File for External Projects
0002 # This file is configured by Geant4 for use with CMake's find_package in
0003 # Config mode. It enables external projects to determine the version of 
0004 # Geant4 found. More importantly, it allows that command to automatically 
0005 # determine whether the found install is compatible with any VERSION that 
0006 # was supplied with find_package.
0007 #
0008 # This file is configured by Geant4's CMake system and SHOULD NOT BE EDITED
0009 #-----------------------------------------------------------------------
0010 
0011 # - Installed Version as set from CMake
0012 set(PACKAGE_VERSION "@Geant4_VERSION@")
0013  
0014 #-----------------------------------------------------------------------
0015 # Check whether the requested PACKAGE_FIND_VERSION is compatible with this
0016 # installed version.
0017 if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}")
0018   set(PACKAGE_VERSION_COMPATIBLE FALSE)
0019 else()
0020   set(PACKAGE_VERSION_COMPATIBLE TRUE)
0021   if("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}")
0022     set(PACKAGE_VERSION_EXACT TRUE)
0023   endif()
0024 endif()
0025