From 989563a75b622a14ad674b79222145c7c8177fed Mon Sep 17 00:00:00 2001 From: Kane York Date: Thu, 23 Jul 2020 16:17:25 -0700 Subject: chore(3p/nix): log whether or not clang-tidy is enabled CMake likes to remember that we overrode it with an empty string and not use the new env var. Change-Id: I16587f27750c9ebd4f65349bb59b37e0f8117f18 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1406 Tested-by: BuildkiteCI Reviewed-by: glittershark --- third_party/nix/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'third_party') diff --git a/third_party/nix/CMakeLists.txt b/third_party/nix/CMakeLists.txt index 7591debb13..6524590b05 100644 --- a/third_party/nix/CMakeLists.txt +++ b/third_party/nix/CMakeLists.txt @@ -30,6 +30,7 @@ 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}") # nix's toolchain has a problem with system header includes, so clang-tidy requires a manual -isystem -- cgit 1.4.1