From e04673385105c88171e4d325f35b7e6c6d22b98c Mon Sep 17 00:00:00 2001 From: Amaury Chamayou Date: Thu, 21 May 2020 14:55:09 +0100 Subject: [PATCH] Fix clang-format lookup to do what the comment says --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a581baa61..34fb6e5cf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,8 +57,7 @@ macro(clangformat_targets) # tool. It does not work with older versions as AfterCaseLabel is not supported # in earlier versions. find_program(CLANG_FORMAT NAMES - clang-format-9 - clang-format) + clang-format-9) # If we've found a clang-format tool, generate a target for it, otherwise emit # a warning.