]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Now giving unsupported allocator gives an error. 17422/head
authorAdam Kupczyk <akupczyk@redhat.com>
Mon, 18 Sep 2017 11:57:14 +0000 (13:57 +0200)
committerAdam Kupczyk <akupczyk@redhat.com>
Mon, 18 Sep 2017 14:37:52 +0000 (16:37 +0200)
Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
src/CMakeLists.txt

index 1eab353fd9c13a2fbda24081d32dd63eaa168677..b3fb90f6ebb6c795214bb67d64dda5117f7d2582 100644 (file)
@@ -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