mirror of https://github.com/ByConity/ByConity
Added fatal error in cmake
This commit is contained in:
parent
1937623f18
commit
0d37147377
|
@ -8,6 +8,8 @@ if (NOT EXISTS "${ClickHouse_SOURCE_DIR}/contrib/mimalloc/include/mimalloc.h")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (ENABLE_MIMALLOC)
|
if (ENABLE_MIMALLOC)
|
||||||
|
message (FATAL_ERROR "Mimalloc is not production ready. (Disable with cmake -D ENABLE_MIMALLOC=0). If you want to use mimalloc, you must manually remove this message.")
|
||||||
|
|
||||||
set (MIMALLOC_INCLUDE_DIR ${ClickHouse_SOURCE_DIR}/contrib/mimalloc/include)
|
set (MIMALLOC_INCLUDE_DIR ${ClickHouse_SOURCE_DIR}/contrib/mimalloc/include)
|
||||||
set (USE_MIMALLOC 1)
|
set (USE_MIMALLOC 1)
|
||||||
set (MIMALLOC_LIBRARY mimalloc-static)
|
set (MIMALLOC_LIBRARY mimalloc-static)
|
||||||
|
|
Loading…
Reference in New Issue