FindJemalloc

Find the Jemalloc library.

find_package( Jemalloc [REQUIRED] [QUIET] )

Output variables

The following CMake variables are set on completion:

JEMALLOC_FOUND:true if JEMALLOC is found on the system
JEMALLOC_LIBRARIES:
 full paths to requested JEMALLOC libraries
JEMALLOC_INCLUDES:
 JEMALLOC include directory

Input variables

The following CMake variables are checked by the function:

JEMALLOC_USE_STATIC_LIBS:
 if true, only static libraries are found
JEMALLOC_ROOT:if set, this path is exclusively searched
JEMALLOC_DIR:equivalent to JEMALLOC_ROOT
JEMALLOC_PATH:equivalent to JEMALLOC_ROOT
JEMALLOC_LIBRARY:
 JEMALLOC library to use
JEMALLOC_INCLUDE_DIR:
 JEMALLOC include directory