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