# - Locate HepMC library # Defines: # # HEPMC_FOUND # HEPMC_INCLUDE_DIR # HEPMC_INCLUDE_DIRS (not cached) # HEPMC_LIBRARIES find_path(HEPMC_INCLUDE_DIR HepMC/ParticleData.hh) find_library(HEPMC_LIBRARIES NAMES HepMC) set(HEPMC_INCLUDE_DIRS ${HEPMC_INCLUDE_DIR}) # handle the QUIETLY and REQUIRED arguments and set HEPMC_FOUND to TRUE if # all listed variables are TRUE INCLUDE(FindPackageHandleStandardArgs) FIND_PACKAGE_HANDLE_STANDARD_ARGS(HepMC DEFAULT_MSG HEPMC_INCLUDE_DIR HEPMC_LIBRARIES) mark_as_advanced(HEPMC_FOUND HEPMC_INCLUDE_DIR HEPMC_LIBRARIES)