mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
Disable clang-tidy by default (it will be enabled on per-build basis)
This commit is contained in:
parent
ec4794d3f6
commit
3332048edb
@ -1,6 +1,6 @@
|
|||||||
# This file configures static analysis tools that can be integrated to the build process
|
# This file configures static analysis tools that can be integrated to the build process
|
||||||
|
|
||||||
option (ENABLE_CLANG_TIDY "Use 'clang-tidy' static analyzer if present" ${COMPILER_CLANG})
|
option (ENABLE_CLANG_TIDY "Use 'clang-tidy' static analyzer if present" OFF)
|
||||||
if (ENABLE_CLANG_TIDY)
|
if (ENABLE_CLANG_TIDY)
|
||||||
if (${CMAKE_VERSION} VERSION_LESS "3.6.0")
|
if (${CMAKE_VERSION} VERSION_LESS "3.6.0")
|
||||||
message(FATAL_ERROR "clang-tidy requires CMake version at least 3.6.")
|
message(FATAL_ERROR "clang-tidy requires CMake version at least 3.6.")
|
||||||
|
Loading…
Reference in New Issue
Block a user