Warning, /estarlight/utils/cmake_modules/FindPythia6.cmake is written in an unsupported language. File is not indexed.
0001
0002 MESSAGE(STATUS "$PYTHIADIR: $ENV{PYTHIADIR}")
0003 FIND_LIBRARY(PYTHIA6_LIBRARY NAMES Pythia6 PATHS $ENV{PYTHIADIR} /usr/lib /usr/lib64 /usr/local/lib )
0004
0005 IF (PYTHIA6_LIBRARY)
0006 SET(PYTHIA6_FOUND TRUE)
0007 ENDIF (PYTHIA6_LIBRARY)
0008
0009 IF (PYTHIA6_FOUND)
0010 IF (NOT Pythia6_FIND_QUIETLY)
0011 MESSAGE(STATUS "Found Pythia6: ${PYTHIA6_LIBRARY}")
0012 ENDIF (NOT Pythia6_FIND_QUIETLY)
0013 ELSE (PYTHIA6_FOUND)
0014 IF (Pythia6_FIND_REQUIRED)
0015 MESSAGE(FATAL_ERROR "Could not find Pythia6. We search first in $PYTHIADIR, then in the normal library paths.")
0016 ELSE(Pythia6_FIND_REQUIRED)
0017 IF(NOT Pythia6_FIND_QUIETLY)
0018 MESSAGE(STATUS "Could not find Pythia6. We search first in $PYTHIADIR, then in the normal library paths.")
0019 ENDIF(NOT Pythia6_FIND_QUIETLY)
0020 ENDIF (Pythia6_FIND_REQUIRED)
0021
0022 ENDIF (PYTHIA6_FOUND)
0023