Warning, /EICrecon/cmake/FindFastJetTools.cmake is written in an unsupported language. File is not indexed.
0001 # * Locate FastJet Tools library Defines:
0002 #
0003 # FJTOOLS_FOUND FJTOOLS_INCLUDE_DIR FJTOOLS_INCLUDE_DIRS (not cached)
0004 # FJTOOLS_LIBRARY FJTOOLS_LIBRARIES (not cached) FJTOOLS_LIBRARY_DIRS (not
0005 # cached)
0006
0007 find_path(FJTOOLS_INCLUDE_DIR fastjet/tools/BackgroundEstimatorBase.hh
0008 HINTS $ENV{FASTJET_ROOT}/include ${FASTJET_ROOT_DIR}/include)
0009
0010 find_library(
0011 FJTOOLS_LIBRARY
0012 NAMES fastjettools
0013 HINTS $ENV{FASTJET_ROOT}/lib ${FASTJET_ROOT_DIR}/lib)
0014
0015 # handle the QUIETLY and REQUIRED arguments and set FJTOOLS_FOUND to TRUE if all
0016 # listed variables are TRUE
0017 include(FindPackageHandleStandardArgs)
0018 find_package_handle_standard_args(FastJetTools DEFAULT_MSG FJTOOLS_INCLUDE_DIR
0019 FJTOOLS_LIBRARY)
0020
0021 mark_as_advanced(FJTOOLS_FOUND FJTOOLS_INCLUDE_DIR FJTOOLS_LIBRARY)
0022
0023 set(FJTOOLS_INCLUDE_DIRS ${FJTOOLS_INCLUDE_DIR})
0024 set(FJTOOLS_LIBRARIES ${FJTOOLS_LIBRARY})
0025 get_filename_component(FJTOOLS_LIBRARY_DIRS ${FJTOOLS_LIBRARY} PATH)