diff options
Diffstat (limited to 'third_party/nix')
-rw-r--r-- | third_party/nix/CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/third_party/nix/CMakeLists.txt b/third_party/nix/CMakeLists.txt index 6524590b0580..6a9ab6bf8a8f 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}) |