Disable clang-tidy by default (it will be enabled on per-build basis)

This commit is contained in:
Alexey Milovidov 2020-03-12 02:16:05 +03:00
parent ec4794d3f6
commit 3332048edb

View File

@ -1,6 +1,6 @@
# 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 (${CMAKE_VERSION} VERSION_LESS "3.6.0")
message(FATAL_ERROR "clang-tidy requires CMake version at least 3.6.")