about summary refs log tree commit diff
path: root/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'third_party')
-rw-r--r--third_party/nix/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/third_party/nix/CMakeLists.txt b/third_party/nix/CMakeLists.txt
index 6524590b05..6a9ab6bf8a 100644
--- a/third_party/nix/CMakeLists.txt
+++ b/third_party/nix/CMakeLists.txt
@@ -30,8 +30,9 @@ find_package(glog REQUIRED)
 
 find_program(CLANG_TIDY_PATH clang-tidy)
 if (CLANG_TIDY_PATH)
-  message("Found clang-tidy: ${CLANG_TIDY_PATH}")
-  set(CMAKE_CXX_CLANG_TIDY "${CLANG_TIDY_PATH}")
+  # TODO(kanepyork): figure out how to reenable
+  #message("Found clang-tidy: ${CLANG_TIDY_PATH}")
+  #set(CMAKE_CXX_CLANG_TIDY "${CLANG_TIDY_PATH};--line-filter=[{\"name\":\"src/cpptoml/cpptoml.h\"},{\"name\":\"google/protobuf/metadata_lite.h\"}]")
 
   # nix's toolchain has a problem with system header includes, so clang-tidy requires a manual -isystem
   if (DEFINED ENV{LIBCXX_INCLUDE})