From 751214ef327f716ece73086fa9ebbc8e5efa84a5 Mon Sep 17 00:00:00 2001 From: Ben Gainey Date: Mon, 19 Dec 2022 09:48:33 +0000 Subject: [PATCH] Disable clang-tidy by default Its mostly for developers not users, so adds to the build time unnecessarily. Plus it appears to fail in some cases by not being able to locate std library headers. --- daemon/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/CMakeLists.txt b/daemon/CMakeLists.txt index b54ceab6..132b948c 100644 --- a/daemon/CMakeLists.txt +++ b/daemon/CMakeLists.txt @@ -759,7 +759,7 @@ ENDIF() IF(EXISTS ${CLANG_TIDY}) # ## CMAKE_xxx_CLANG_TIDY need to be before the ADD_EXECUTABLE - OPTION(ENABLE_CLANG_TIDY_DURING_BUILD "Compile and tidy at the same time" ON) + OPTION(ENABLE_CLANG_TIDY_DURING_BUILD "Compile and tidy at the same time" OFF) IF(ENABLE_CLANG_TIDY_DURING_BUILD) SET(CMAKE_C_CLANG_TIDY )