From: Adam Kupczyk Date: Mon, 18 Sep 2017 11:57:14 +0000 (+0200) Subject: Now giving unsupported allocator gives an error. X-Git-Tag: v13.0.1~833^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=483101008a2fc3763adfe0c3afd2d13be6f6dc0f;p=ceph.git Now giving unsupported allocator gives an error. Signed-off-by: Adam Kupczyk --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1eab353fd9c1..b3fb90f6ebb6 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -297,7 +297,7 @@ elseif(ALLOCATOR STREQUAL "libc") set(TCMALLOC_srcs perfglue/disabled_heap_profiler.cc) else() set(TCMALLOC_srcs perfglue/disabled_heap_profiler.cc) - message(WARNING "Possibly incorrect allocator selected:" ${ALLOCATOR}) + message(FATAL_ERROR "Unsupported allocator selected: ${ALLOCATOR}") endif() # tcmalloc heap profiler