aboutsummaryrefslogtreecommitdiff
path: root/cmake/scripts/common
diff options
context:
space:
mode:
authorluz paz <luzpaz@users.noreply.github.com>2021-10-28 22:07:06 -0400
committerluz paz <luzpaz@users.noreply.github.com>2021-11-17 06:22:24 -0500
commit4e4f71515d39dd887f968fb422d6f81ead424fb3 (patch)
treeab55a21ee8c02b5dc6df1c26d65e59b20480ace2 /cmake/scripts/common
parent3f0508c006a6e76679e0a6d92b277f514990a1e6 (diff)
Fix various typos in docs, user-facing code, and source comments
Found via `codespell -q 3 -S *.po,./lib/libUPnP/Neptune -L bloaded,busses,inout,lod,medias,parm`
Diffstat (limited to 'cmake/scripts/common')
-rw-r--r--cmake/scripts/common/AddonHelpers.dox2
-rw-r--r--cmake/scripts/common/CheckTargetPlatform.cmake2
-rw-r--r--cmake/scripts/common/Macros.cmake2
-rw-r--r--cmake/scripts/common/ProjectMacros.cmake2
4 files changed, 4 insertions, 4 deletions
diff --git a/cmake/scripts/common/AddonHelpers.dox b/cmake/scripts/common/AddonHelpers.dox
index d3acec011d..522e0e724c 100644
--- a/cmake/scripts/common/AddonHelpers.dox
+++ b/cmake/scripts/common/AddonHelpers.dox
@@ -11,7 +11,7 @@ process the construction.
--------------------------------------------------------------------------------
-<b>Here a minmal example of the for addon used CMakeLists.txt:</b>
+<b>Here's a minimal example of the addon used for CMakeLists.txt:</b>
~~~~~~~~~~~~~{.cmake}
cmake_minimum_required(VERSION 3.5)
diff --git a/cmake/scripts/common/CheckTargetPlatform.cmake b/cmake/scripts/common/CheckTargetPlatform.cmake
index d776085810..29206c050d 100644
--- a/cmake/scripts/common/CheckTargetPlatform.cmake
+++ b/cmake/scripts/common/CheckTargetPlatform.cmake
@@ -48,7 +48,7 @@ endfunction()
function(check_install_permissions install_dir have_perms)
# param[in] install_dir directory to check for write permissions
- # param[out] have_perms wether we have permissions to install to install_dir
+ # param[out] have_perms whether we have permissions to install to install_dir
set(testfile_lib ${install_dir}/lib/kodi/.cmake-inst-test)
set(testfile_share ${install_dir}/share/kodi/.cmake-inst-test)
diff --git a/cmake/scripts/common/Macros.cmake b/cmake/scripts/common/Macros.cmake
index 4e0ca360e7..9b7fc161e9 100644
--- a/cmake/scripts/common/Macros.cmake
+++ b/cmake/scripts/common/Macros.cmake
@@ -573,7 +573,7 @@ function(core_find_git_rev stamp)
else()
find_package(Git)
if(GIT_FOUND AND EXISTS ${CMAKE_SOURCE_DIR}/.git)
- # get tree status i.e. clean working tree vs dirty (uncommited or unstashed changes, etc.)
+ # get tree status i.e. clean working tree vs dirty (uncommitted or unstashed changes, etc.)
execute_process(COMMAND ${GIT_EXECUTABLE} update-index --ignore-submodules -q --refresh
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
execute_process(COMMAND ${GIT_EXECUTABLE} diff-files --ignore-submodules --quiet --
diff --git a/cmake/scripts/common/ProjectMacros.cmake b/cmake/scripts/common/ProjectMacros.cmake
index 313cf4ec87..67920c5f4d 100644
--- a/cmake/scripts/common/ProjectMacros.cmake
+++ b/cmake/scripts/common/ProjectMacros.cmake
@@ -3,7 +3,7 @@
# Pack a skin xbt file
# Arguments:
# input input directory to pack
-# output ouput xbt file
+# output output xbt file
# On return:
# xbt is added to ${XBT_FILES}
function(pack_xbt input output)