Warning, /estarlight/utils/cmake_modules/FindPythia8.cmake is written in an unsupported language. File is not indexed.
0001 FIND_PATH(PYTHIA8_INCLUDE_DIR Pythia8/Pythia.h /usr/include/ /usr/include/pythia /usr/local/include/ $ENV{PYTHIADIR}/include)
0002
0003 FIND_PATH(PYTHIA8_SETTINGS_DIR Index.xml /usr/share/pythia/xmldoc $ENV{PYTHIADIR}/share/Pythia8/xmldoc)
0004
0005 FIND_LIBRARY(PYTHIA8_LIBRARY NAMES pythia8 PATHS /usr/lib /usr/lib/pythia /usr/local/lib $ENV{PYTHIADIR}/lib)
0006
0007 IF (PYTHIA8_INCLUDE_DIR AND PYTHIA8_LIBRARY AND PYTHIA8_SETTINGS_DIR)
0008 SET(PYTHIA8_FOUND TRUE)
0009 ENDIF (PYTHIA8_INCLUDE_DIR AND PYTHIA8_LIBRARY AND PYTHIA8_SETTINGS_DIR)
0010
0011
0012 IF (PYTHIA8_FOUND)
0013 IF (NOT Pythia8_FIND_QUIETLY)
0014 MESSAGE(STATUS "Found Pythia8: ${PYTHIA8_LIBRARY}")
0015 MESSAGE(STATUS "Found Pythia8 include: ${PYTHIA8_INCLUDE_DIR}")
0016 ENDIF (NOT Pythia8_FIND_QUIETLY)
0017 ELSE (PYTHIA8_FOUND)
0018 IF (Pythia8_FIND_REQUIRED)
0019 MESSAGE(FATAL_ERROR "Could not find Pythia8. We search first in the normal library paths, then in $PYTHIADIR")
0020 ELSE(Pythia8_FIND_REQUIRED)
0021 IF(NOT Pythia8_FIND_QUIETLY)
0022 MESSAGE(STATUS "Could not find Pythia8. We search first in the normal library paths, then in $PYTHIADIR")
0023 ENDIF(NOT Pythia8_FIND_QUIETLY)
0024 ENDIF (Pythia8_FIND_REQUIRED)
0025
0026 ENDIF (PYTHIA8_FOUND)
0027