We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f379578 + 4904953 commit 542fcf7Copy full SHA for 542fcf7
CMakeLists.txt
@@ -74,7 +74,9 @@ if(CLANG_TIDY AND PROTOBUF_FOUND)
74
${CMAKE_SOURCE_DIR}/test/unit/*.cpp
75
${CMAKE_SOURCE_DIR}/tools/*.cpp
76
)
77
- add_dependencies(clang-tidy writer_tests)
+ if(BUILD_TESTING)
78
+ add_dependencies(clang-tidy writer_tests)
79
+ endif()
80
else()
81
message(STATUS "Looking for clang-tidy - not found")
82
message(STATUS " Build target 'clang-tidy' will not be available.")
0 commit comments