message(STATUS"Using clang-tidy: ${CLANG_TIDY_PATH}. The checks will be run during build process. See the .clang-tidy file at the root directory to configure the checks.")
set(USE_CLANG_TIDY1)
# The variable CMAKE_CXX_CLANG_TIDY will be set inside dbms and base directories with non third-party code.
# set (CMAKE_CXX_CLANG_TIDY "${CLANG_TIDY_PATH}")
else()
message(STATUS"clang-tidy is not found. This is normal - the tool is used only for static code analysis and not essential for build.")