summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2024-08-16 20:47:19 (GMT)
committerBrad King <brad.king@kitware.com>2024-08-19 18:04:38 (GMT)
commita34756b622998a21603eae6c8dac78b159e7c219 (patch)
tree175b53ab3438e06ebb9ff0a253c0089c0e9b46f0
parent1debc1f2bc34ede149e110af77d07cd403175908 (diff)
downloadCMake-a34756b622998a21603eae6c8dac78b159e7c219.zip
CMake-a34756b622998a21603eae6c8dac78b159e7c219.tar.gz
CMake-a34756b622998a21603eae6c8dac78b159e7c219.tar.bz2
Swift: Fix typo in linker configuration logic
Fix a typo from commit c1c4cf9545 (Linker configuration: introduce a new architecture, 2024-06-05): `Swoft` => `Swift`. Reported-by: Evan Wilde <etceterawilde@gmail.com>
-rw-r--r--Modules/Internal/CMakeSwiftLinkerInformation.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Internal/CMakeSwiftLinkerInformation.cmake b/Modules/Internal/CMakeSwiftLinkerInformation.cmake
index fb3e986..6d1881f 100644
--- a/Modules/Internal/CMakeSwiftLinkerInformation.cmake
+++ b/Modules/Internal/CMakeSwiftLinkerInformation.cmake
@@ -13,7 +13,7 @@ include(Internal/CMakeCommonLinkerInformation)
set(_INCLUDED_FILE 0)
# Load linker-specific information.
-if(CMAKE_Swoft_COMPILER_LINKER_ID)
+if(CMAKE_Swift_COMPILER_LINKER_ID)
include(Linker/${CMAKE_Swift_COMPILER_LINKER_ID}-Swift OPTIONAL)
endif()