diff --git a/CMakeLists.txt b/CMakeLists.txt index 93c92c0dba..91d6e4220d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -152,6 +152,10 @@ endif () if (ENABLE_JEMALLOC) find_package(JeMalloc) + + if (NOT JEMALLOC_FOUND) + message(FATAL_ERROR "Could not find requested JeMalloc") + endif() endif () if ( BISON_VERSION AND BISON_VERSION VERSION_LESS 2.5 )