summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2022-06-10 16:41:59 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-06-13 16:00:21 +0000
commit43691ca7528d4dbf8f26cf3d2e0d1e4bd333078c (patch)
treeb967a2be451e5cbfe79acab7d7b35521f5c3e7bc /util
parentbdfb65dc33055da4c246b48ee3d752802b4a92e3 (diff)
CMake: Fix typos
Found by codespell Change-Id: I4907e423b6b345acf82f2d7e0ed62479719d694e Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit 04cc705947a4f8e96f98f228a505774293c97840) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'util')
-rwxr-xr-xutil/cmake/cmakeconversionrate.py2
-rwxr-xr-xutil/cmake/pro2cmake.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/util/cmake/cmakeconversionrate.py b/util/cmake/cmakeconversionrate.py
index a961ebe379..012ef1ee2d 100755
--- a/util/cmake/cmakeconversionrate.py
+++ b/util/cmake/cmakeconversionrate.py
@@ -21,7 +21,7 @@ def _parse_commandline():
)
parser.add_argument(
"binary_directory",
- metavar="<CMake build direcotry>",
+ metavar="<CMake build directory>",
type=str,
help="The CMake build directory (might be empty)",
)
diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py
index cfbcc10c55..a490200bd4 100755
--- a/util/cmake/pro2cmake.py
+++ b/util/cmake/pro2cmake.py
@@ -5027,7 +5027,7 @@ def main() -> None:
cmake_api_version = args.api_version
else:
# Otherwise detect the api version in the old CMakeLists.txt
- # if it exsists.
+ # if it exists.
detected_cmake_api_version = detect_cmake_api_version_used_in_file_content(
file_relative_path
)