mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
868dbc4bad
fix fix
14 lines
385 B
CMake
14 lines
385 B
CMake
option (ENABLE_FILELOG "Enable FILELOG" ON)
|
|
|
|
if (NOT ENABLE_FILELOG)
|
|
message (${RECONFIGURE_MESSAGE_LEVEL} "Can't use StorageFileLog with ENABLE_FILELOG=OFF")
|
|
return()
|
|
endif()
|
|
|
|
# StorageFileLog only support Linux platform
|
|
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
|
set (USE_FILELOG 1)
|
|
message (STATUS "Using StorageFileLog = 1")
|
|
endif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
|
|