Warning, /EICrecon/cmake/FindFastJetContrib.cmake is written in an unsupported language. File is not indexed.
0001 # * Locate FastJetContrib library Defines:
0002 #
0003 # FJCONTRIB_FOUND FJCONTRIB_INCLUDE_DIR FJCONTRIB_INCLUDE_DIRS (not cached)
0004 # FJCONTRIB_LIBRARY FJCONTRIB_LIBRARIES (not cached) FJCONTRIB_LIBRARY_DIRS (not
0005 # cached)
0006
0007 find_path(FJCONTRIB_INCLUDE_DIR fastjet/contrib/Centauro.hh
0008 HINTS $ENV{FASTJET_ROOT}/include ${FASTJET_ROOT_DIR}/include)
0009
0010 find_library(
0011 FJCONTRIB_LIBRARY
0012 NAMES fastjetcontribfragile
0013 HINTS $ENV{FASTJET_ROOT}/lib ${FASTJET_ROOT_DIR}/lib)
0014
0015 # handle the QUIETLY and REQUIRED arguments and set FJCONTRIB_FOUND to TRUE if
0016 # all listed variables are TRUE
0017 include(FindPackageHandleStandardArgs)
0018 find_package_handle_standard_args(FastJetContrib DEFAULT_MSG
0019 FJCONTRIB_INCLUDE_DIR FJCONTRIB_LIBRARY)
0020
0021 mark_as_advanced(FJCONTRIB_FOUND FJCONTRIB_INCLUDE_DIR FJCONTRIB_LIBRARY)
0022
0023 set(FJCONTRIB_INCLUDE_DIRS ${FJCONTRIB_INCLUDE_DIR})
0024 set(FJCONTRIB_LIBRARIES ${FJCONTRIB_LIBRARY})
0025 get_filename_component(FJCONTRIB_LIBRARY_DIRS ${FJCONTRIB_LIBRARY} PATH)