aboutsummaryrefslogtreecommitdiffhomepage
path: root/CMake
diff options
context:
space:
mode:
authorAYMEN <53928879+AYMENJD@users.noreply.github.com>2024-12-05 15:41:30 +0300
committerGitHub <noreply@github.com>2024-12-05 15:41:30 +0300
commitd5445065e639fa673b86933062650d671eb419a2 (patch)
treed7e3ad2e37115094f738b9d6418d72f3416848af /CMake
parentd0f077f3c0dfdadf36ef4c273368ae18bb9e8ed2 (diff)
Minor improvements. (#3169)
Diffstat (limited to 'CMake')
-rw-r--r--CMake/GetGitRevisionDescription.cmake2
-rw-r--r--CMake/iOS.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/CMake/GetGitRevisionDescription.cmake b/CMake/GetGitRevisionDescription.cmake
index 724d07821..746c29d58 100644
--- a/CMake/GetGitRevisionDescription.cmake
+++ b/CMake/GetGitRevisionDescription.cmake
@@ -35,7 +35,7 @@ get_filename_component(_gitdescmoddir ${CMAKE_CURRENT_LIST_FILE} PATH)
# function returns an empty string via _git_dir_var.
#
# Example: Given a path C:/bla/foo/bar and assuming C:/bla/.git exists and
-# neither foo nor bar contain a file/directory .git. This wil return
+# neither foo nor bar contain a file/directory .git. This will return
# C:/bla/.git
#
function(_git_find_closest_git_dir _start_dir _git_dir_var)
diff --git a/CMake/iOS.cmake b/CMake/iOS.cmake
index 4ef76bd0f..0bdbe7505 100644
--- a/CMake/iOS.cmake
+++ b/CMake/iOS.cmake
@@ -154,7 +154,7 @@ endif()
set (CMAKE_SHARED_LINKER_FLAGS_INIT "-fapplication-extension")
set (CMAKE_C_FLAGS_INIT "${XCODE_IOS_PLATFORM_VERSION_FLAGS}")
-# Hidden visibilty is required for cxx on iOS
+# Hidden visibility is required for cxx on iOS
set (CMAKE_CXX_FLAGS_INIT "${XCODE_IOS_PLATFORM_VERSION_FLAGS} -fvisibility-inlines-hidden")
set (CMAKE_C_LINK_FLAGS "${XCODE_IOS_PLATFORM_VERSION_FLAGS} -fapplication-extension -Wl,-search_paths_first ${CMAKE_C_LINK_FLAGS}")