summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosef Angstenberger <code@jtxa.de>2021-05-06 20:40:07 (GMT)
committerJosef Angstenberger <code@jtxa.de>2021-05-07 15:00:15 (GMT)
commitf015c36c5a051d73434d56ba54c12001590756a2 (patch)
tree8b87c0b63c9d1e922a852cdeb73699d8dcae04bb
parentdad5b9d8455e4007d1cab1567ebad0eac26330a1 (diff)
downloadCMake-f015c36c5a051d73434d56ba54c12001590756a2.zip
CMake-f015c36c5a051d73434d56ba54c12001590756a2.tar.gz
CMake-f015c36c5a051d73434d56ba54c12001590756a2.tar.bz2
Modules: Fix typos and spelling in comments of generated code
-rw-r--r--Modules/CMakeFortranCompilerId.F.in2
-rw-r--r--Modules/Compiler/IntelLLVM-DetermineCompiler.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CMakeFortranCompilerId.F.in b/Modules/CMakeFortranCompilerId.F.in
index 7b1d68b..d0e0e46 100644
--- a/Modules/CMakeFortranCompilerId.F.in
+++ b/Modules/CMakeFortranCompilerId.F.in
@@ -26,7 +26,7 @@
PRINT *, 'INFO:compiler[IntelLLVM]'
! __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
! later. Look for 6 digit vs. 8 digit version number to decide encoding.
-! VVVV is no smaller than the current year when a versio is released.
+! VVVV is no smaller than the current year when a version is released.
# if __INTEL_LLVM_COMPILER < 1000000
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
diff --git a/Modules/Compiler/IntelLLVM-DetermineCompiler.cmake b/Modules/Compiler/IntelLLVM-DetermineCompiler.cmake
index 124dafe..917a364 100644
--- a/Modules/Compiler/IntelLLVM-DetermineCompiler.cmake
+++ b/Modules/Compiler/IntelLLVM-DetermineCompiler.cmake
@@ -4,7 +4,7 @@ set(_compiler_id_pp_test "(defined(__clang__) && defined(__INTEL_CLANG_COMPILER)
set(_compiler_id_version_compute "
/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
* later. Look for 6 digit vs. 8 digit version number to decide encoding.
- * VVVV is no smaller than the current year when a versio is released.
+ * VVVV is no smaller than the current year when a version is released.
*/
#if __INTEL_LLVM_COMPILER < 1000000L
# define @PREFIX@COMPILER_VERSION_MAJOR @MACRO_DEC@(__INTEL_LLVM_COMPILER/100)