mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-13 19:14:30 +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")
|
|
|