FindTcmalloc

Find the Tcmalloc library.

find_package( Tcmalloc [REQUIRED] [QUIET] )

Output variables

The following CMake variables are set on completion:

Tcmalloc_FOUND:true if Tcmalloc is found on the system
TCMALLOC_LIBRARIES:
 full paths to requested Tcmalloc libraries
TCMALLOC_LIBRARY_DIR:
 Directory containing the TCMALLOC_LIBRARIES
TCMALLOC_INCLUDE_DIRS:
 Tcmalloc include directories

Input variables

The following CMake / Environment variables are considered in order:

Tcmalloc_ROOT:CMake variable / Environment variable