]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
CMakeLists.txt: suppress unneeded warningiabout jemalloc 13377/head
authorWillem Jan Withagen <wjw@digiware.nl>
Sun, 12 Feb 2017 14:03:56 +0000 (15:03 +0100)
committerWillem Jan Withagen <wjw@digiware.nl>
Sun, 12 Feb 2017 14:03:56 +0000 (15:03 +0100)
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
CMakeLists.txt

index ff01baf37977c7b40315c49af4432d0639c6cd85..c967cfb90949b185a253e6fcd1fcc7b974e7186f 100644 (file)
@@ -286,7 +286,10 @@ else(ALLOCATOR)
   elseif(JEMALLOC_FOUND)
     set(ALLOCATOR jemalloc)
   else()
-    message(WARNING "tcmalloc and jemalloc not found, falling back to libc")
+    if(NOT FREEBSD)
+      # FreeBSD already has jemalloc as its default allocator
+      message(WARNING "tcmalloc and jemalloc not found, falling back to libc")
+    endif()
     set(ALLOCATOR "libc")
   endif(GPERFTOOLS_FOUND)
 endif(ALLOCATOR)