1 # Find the native JeMalloc includes and library
3 # JEMALLOC_INCLUDE_DIRS, where to find jemalloc.h, Set when
4 # JEMALLOC_INCLUDE_DIR is found.
5 # JEMALLOC_LIBRARIES, libraries to link against to use JeMalloc.
6 # JEMALLOC_FOUND, If false, do not try to use JeMalloc.
9 find_path(JEMALLOC_INCLUDE_DIR jemalloc/jemalloc.h)
11 find_library(JEMALLOC_LIBRARIES jemalloc)
13 include(FindPackageHandleStandardArgs)
14 find_package_handle_standard_args(JeMalloc DEFAULT_MSG
15 JEMALLOC_LIBRARIES JEMALLOC_INCLUDE_DIR)