aboutsummaryrefslogtreecommitdiff
path: root/kde-modules
diff options
context:
space:
mode:
authorChristophe Giboudeaux <christophe@krop.fr>2021-07-13 22:35:29 +0200
committerChristophe Giboudeaux <christophe@krop.fr>2021-07-13 22:35:29 +0200
commit8ac2f4f798012203d770049eb4a4374a3c5390ed (patch)
tree6d4c118216a6a655c75cd7350c06fb52263747dd /kde-modules
parent2a39f0b235c242592ae6658f33e7fc7b547f8c6d (diff)
downloadextra-cmake-modules-8ac2f4f798012203d770049eb4a4374a3c5390ed.tar.gz
extra-cmake-modules-8ac2f4f798012203d770049eb4a4374a3c5390ed.tar.bz2
Fix typos found by codespell
GIT_SILENT
Diffstat (limited to 'kde-modules')
-rw-r--r--kde-modules/KDECompilerSettings.cmake6
-rw-r--r--kde-modules/clang-format.cmake2
2 files changed, 4 insertions, 4 deletions
diff --git a/kde-modules/KDECompilerSettings.cmake b/kde-modules/KDECompilerSettings.cmake
index ce20fdf7..ead3b31b 100644
--- a/kde-modules/KDECompilerSettings.cmake
+++ b/kde-modules/KDECompilerSettings.cmake
@@ -26,7 +26,7 @@ Since 5.85 newer settings are controlled by a variable
``KDE_COMPILERSETTINGS_LEVEL``, taking an ECM version as value. That
version can not be greater than the minimum required ECM version.
The settings which are default at that version will then be used,
-but can be overriden by more fine-grained controls (see respective settings).
+but can be overridden by more fine-grained controls (see respective settings).
This variable needs to be set before including this module, otherwise
defaults to the minimum required ECM version.
@@ -48,7 +48,7 @@ Otherwise:
- ``CMAKE_C_EXTENSIONS``: not modified
If the variable ``CMAKE_C_STANDARD`` is already set when including this module,
-none of the above variables will be modifed.
+none of the above variables will be modified.
The following CMake C++ standard default variables are set:
@@ -65,7 +65,7 @@ Otherwise:
- ``CMAKE_CXX_EXTENSIONS``: not modified.
If the variable ``CMAKE_CXX_STANDARD`` is already set when including this module,
-none of the above variables will be modifed.
+none of the above variables will be modified.
The following C++ compiler flags are set:
diff --git a/kde-modules/clang-format.cmake b/kde-modules/clang-format.cmake
index 48e442fa..91b51c85 100644
--- a/kde-modules/clang-format.cmake
+++ b/kde-modules/clang-format.cmake
@@ -56,7 +56,7 @@ BinPackArguments: false
# don't move parameters to own lines if they are not all on the same
BinPackParameters: false
-# In case we have an if statement whith multiple lines the operator should be at the beginning of the line
+# In case we have an if statement with multiple lines the operator should be at the beginning of the line
# but we do not want to break assignments
BreakBeforeBinaryOperators: NonAssignment