From: Willem Jan Withagen Date: Sun, 12 Feb 2017 14:03:56 +0000 (+0100) Subject: CMakeLists.txt: suppress unneeded warningiabout jemalloc X-Git-Tag: v12.0.1~418^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ce3b71acd2018b17fb52a8e9db935715d429f57a;p=ceph.git CMakeLists.txt: suppress unneeded warningiabout jemalloc Signed-off-by: Willem Jan Withagen --- diff --git a/CMakeLists.txt b/CMakeLists.txt index ff01baf37977..c967cfb90949 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)