Warning, /geant4/cmake/Modules/FindFLUKAInterface.cmake is written in an unsupported language. File is not indexed.
0001 # - Check that FLUKA_INTERFACE environment was properly set.
0002 # Note: This file can also be placed in geant4_application/cmake/Modules/FindFLUKAInterface.cmake
0003
0004 message(STATUS "FLUKAInterface_INCLUDE_DIR = $ENV{FLUKAInterface_INCLUDE_DIR}")
0005 message(STATUS "FLUKAInterface_LIBRARIES = $ENV{FLUKAInterface_LIBRARIES}")
0006 if (NOT DEFINED ENV{FLUKAInterface_INCLUDE_DIR})
0007 message(FATAL_ERROR "\n $FLUKAInterface_INCLUDE_DIR is not set! \n Did you source env_FLUKA_G4_interface.sh? \n")
0008 elseif (NOT DEFINED ENV{FLUKAInterface_LIBRARIES})
0009 message(FATAL_ERROR "\n $FLUKAInterface_LIBRARIES is not set! \n Did you source env_FLUKA_G4_interface.sh? \n")
0010 endif()
0011
0012
0013 string(REPLACE " " ";" FLUKAInterface_INCLUDE_DIR $ENV{FLUKAInterface_INCLUDE_DIR})
0014 string(REPLACE " " ";" FLUKAInterface_LIBRARIES $ENV{FLUKAInterface_LIBRARIES})
0015
0016
0017 include(FindPackageHandleStandardArgs)
0018 find_package_handle_standard_args(FLUKAInterface DEFAULT_MSG FLUKAInterface_INCLUDE_DIR FLUKAInterface_LIBRARIES)