diff --git a/cmake/modules_old/FindGEANT4DATA.cmake b/cmake/modules_old/FindGEANT4DATA.cmake index db87ab1843..118ad33b8f 100644 --- a/cmake/modules_old/FindGEANT4DATA.cmake +++ b/cmake/modules_old/FindGEANT4DATA.cmake @@ -1,8 +1,8 @@ ################################################################################ # Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH # # # - # This software is distributed under the terms of the # - # GNU Lesser General Public Licence (LGPL) version 3, # + # This software is distributed under the terms of the # + # GNU Lesser General Public Licence (LGPL) version 3, # # copied verbatim in the file "LICENSE" # ################################################################################ # - Try to find GEANT4 data files @@ -84,6 +84,22 @@ Else (G4NEUTRONXSDATA) Message(STATUS "NOT Found G4NEUTRONXS data") EndIf (G4NEUTRONXSDATA) + +FIND_PATH(G4PARTICLEXSDATA NAMES He3 PATHS + $ENV{G4PARTICLEXSDATA} + ${GEANT4_DATA}/G4PARTICLEXS + NO_DEFAULT_PATH +) +#EndIf() + +If (G4PARTICLEXSDATA) +Message(STATUS "Found G4PARTICLEXSDATA data") +Else (G4PARTICLEXSDATA) +Message(STATUS "NOT Found G4PARTICLEXSDATA data") +EndIf (G4PARTICLEXSDATA) + + + Message("G4PIIDATA: $ENV{G4PIIDATA}") #If(DEFINED ENV{G4PIIDATA}) # Set(G4PIIDATA $ENV{G4PIIDATA}) diff --git a/cmake/scripts/config.sh.in b/cmake/scripts/config.sh.in index d6f5da92c6..fb6a6e4541 100644 --- a/cmake/scripts/config.sh.in +++ b/cmake/scripts/config.sh.in @@ -32,6 +32,7 @@ if [ $same_system -eq 1 ]; then export G4NeutronHPCrossSections="@G4NeutronHPCrossSections@" export G4NEUTRONHPDATA="@G4NeutronHPCrossSections@" export G4NEUTRONXSDATA="@G4NEUTRONXSDATA@" + export G4PARTICLEXSDATA="@G4PARTICLEXSDATA@" export G4PIIDATA="@G4PIIDATA@" export G4RADIOACTIVEDATA="@G4RADIOACTIVEDATA@" export G4REALSURFACEDATA="@G4REALSURFACEDATA@"