Skip to content

Commit

Permalink
Disable clang-tidy by default
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bengaineyarm committed Dec 19, 2022
1 parent f724b27 commit 751214e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit 751214e

Please sign in to comment.