aboutsummaryrefslogtreecommitdiff
path: root/kde-modules/KDEClangFormat.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'kde-modules/KDEClangFormat.cmake')
-rw-r--r--kde-modules/KDEClangFormat.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/kde-modules/KDEClangFormat.cmake b/kde-modules/KDEClangFormat.cmake
index 5adba5e9..46be8ad6 100644
--- a/kde-modules/KDEClangFormat.cmake
+++ b/kde-modules/KDEClangFormat.cmake
@@ -35,7 +35,7 @@ Example usage:
.. code-block:: cmake
include(KDEClangFormat)
- file(GLOB_RECURSE ALL_CLANG_FORMAT_SOURCE_FILES *.cpp *.h)
+ file(GLOB_RECURSE ALL_CLANG_FORMAT_SOURCE_FILES *.cpp *.h *.hpp *.c)
kde_clang_format(${ALL_CLANG_FORMAT_SOURCE_FILES})
To exclude directories from the formatting add a ``.clang-format``