Warn if jemalloc is not enabled for non-linux too

Refs: #11897 (osx)
Refs: #11774 (freebsd)
This commit is contained in:
Azat Khuzhin 2020-07-09 10:25:42 +03:00
parent 3a519fe35a
commit 3ceefee220

View File

@ -407,8 +407,8 @@ endif ()
add_subdirectory (contrib EXCLUDE_FROM_ALL) add_subdirectory (contrib EXCLUDE_FROM_ALL)
if (OS_LINUX AND NOT ENABLE_JEMALLOC) if (NOT ENABLE_JEMALLOC)
message (WARNING "Non default allocator is disabled. This is not recommended for production Linux builds.") message (WARNING "Non default allocator is disabled. This is not recommended for production builds.")
endif () endif ()
macro (add_executable target) macro (add_executable target)