summaryrefslogtreecommitdiffstats
path: root/cmake/FindClangFormat.cmake
diff options
context:
space:
mode:
authorManuel Bentele2021-03-11 16:47:05 +0100
committerManuel Bentele2021-03-11 18:18:27 +0100
commitba20fa121a0e97a7862aa163a11c7337a05188f7 (patch)
treedff557d5524b711a6f90209f071ed7d3a4b38148 /cmake/FindClangFormat.cmake
parent[BUILD] Add Github workflow to validate (lint) source code (diff)
downloaddnbd3-ba20fa121a0e97a7862aa163a11c7337a05188f7.tar.gz
dnbd3-ba20fa121a0e97a7862aa163a11c7337a05188f7.tar.xz
dnbd3-ba20fa121a0e97a7862aa163a11c7337a05188f7.zip
[BUILD] Enable lint targets if lint programs are found
Diffstat (limited to 'cmake/FindClangFormat.cmake')
-rw-r--r--cmake/FindClangFormat.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmake/FindClangFormat.cmake b/cmake/FindClangFormat.cmake
index 9abf943..a6c77d4 100644
--- a/cmake/FindClangFormat.cmake
+++ b/cmake/FindClangFormat.cmake
@@ -17,5 +17,4 @@ find_package_handle_standard_args(ClangFormat
FOUND_VAR ClangFormat_FOUND
REQUIRED_VARS ClangFormat_EXECUTABLE
VERSION_VAR ClangFormat_VERSION
- FAIL_MESSAGE "clang-format is not available! Please install clang-format to format the source code!")
-
+ FAIL_MESSAGE "clang-format is not available! Please install clang-format to lint and format the source code!")