From 40a06e4bab2399cf1a521845c43a91c8b598cad7 Mon Sep 17 00:00:00 2001 From: Jan Strohbeck Date: Fri, 14 Aug 2020 18:42:47 +0000 Subject: [PATCH] [UPDATE] Rename FindClang* scripts to not conflict with mrt_cmake_modules. --- CMakeLists.txt | 4 ++-- FindClangFormat.cmake => FindClangFormatCurrent.cmake | 0 FindClangTidy.cmake => FindClangTidyCurrent.cmake | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename FindClangFormat.cmake => FindClangFormatCurrent.cmake (100%) rename FindClangTidy.cmake => FindClangTidyCurrent.cmake (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 563cd77..49318d8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,7 +60,7 @@ function(create_git_hook) list(APPEND CMAKE_MODULE_PATH ${GCF_DIR}) if("clang-format" IN_LIST GCF_cpp_FORMATTERS_LIST) - find_package(ClangFormat REQUIRED) + find_package(ClangFormatCurrent REQUIRED) endif() if("cmake-format" IN_LIST GCF_cmake_FORMATTERS_LIST) find_program(GCF_CMAKE_FORMAT_PATH cmake-format REQUIRED) @@ -70,7 +70,7 @@ function(create_git_hook) endif() if("clang-tidy" IN_LIST GCF_cpp_LINTERS_LIST) - find_package(ClangTidy REQUIRED) + find_package(ClangTidyCurrent REQUIRED) endif() if("pylint" IN_LIST GCF_py_LINTERS_LIST) find_program(GCF_PYLINT_PATH pylint REQUIRED) diff --git a/FindClangFormat.cmake b/FindClangFormatCurrent.cmake similarity index 100% rename from FindClangFormat.cmake rename to FindClangFormatCurrent.cmake diff --git a/FindClangTidy.cmake b/FindClangTidyCurrent.cmake similarity index 100% rename from FindClangTidy.cmake rename to FindClangTidyCurrent.cmake