From 7ccd6c36e84b2585dedb7ab2512f7eb6a027cd45 Mon Sep 17 00:00:00 2001 From: Amaury Chamayou Date: Thu, 21 May 2020 17:11:01 +0100 Subject: [PATCH] Fix clang-format lookup to do what the comment says (#197) --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a581baa..34fb6e5 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.