summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Windows-MSVC.cmake
diff options
context:
space:
mode:
authorFelix Geyer <fgeyer@debian.org>2016-03-29 18:24:20 (GMT)
committerBrad King <brad.king@kitware.com>2016-03-29 18:31:02 (GMT)
commit49e82c15d57db01a95f740f511715064a3887615 (patch)
tree8c03b2bd20b20248d7ab61531aacde3667e7b485 /Modules/Platform/Windows-MSVC.cmake
parent90f24f016e93d18f6a244b39fd21c68355bdbe48 (diff)
downloadCMake-49e82c15d57db01a95f740f511715064a3887615.zip
CMake-49e82c15d57db01a95f740f511715064a3887615.tar.gz
CMake-49e82c15d57db01a95f740f511715064a3887615.tar.bz2
Fix spelling typos in comments and documentation (#16037)
The Debian package checker tool (lintian) detected several typos in CMake.
Diffstat (limited to 'Modules/Platform/Windows-MSVC.cmake')
-rw-r--r--Modules/Platform/Windows-MSVC.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Windows-MSVC.cmake b/Modules/Platform/Windows-MSVC.cmake
index 26bf11c..deaa88e 100644
--- a/Modules/Platform/Windows-MSVC.cmake
+++ b/Modules/Platform/Windows-MSVC.cmake
@@ -299,7 +299,7 @@ macro(__windows_compiler_msvc lang)
"${_CMAKE_VS_LINK_EXE}<CMAKE_LINKER> ${CMAKE_CL_NOLOGO} <OBJECTS> ${CMAKE_START_TEMP_FILE} /out:<TARGET> /implib:<TARGET_IMPLIB> /pdb:<TARGET_PDB> /version:<TARGET_VERSION_MAJOR>.<TARGET_VERSION_MINOR>${_PLATFORM_LINK_FLAGS} <CMAKE_${lang}_LINK_FLAGS> <LINK_FLAGS> <LINK_LIBRARIES>${CMAKE_END_TEMP_FILE}")
if(CMAKE_VS_PLATFORM_TOOLSET MATCHES "v[0-9]+_clang_.*")
- # note: MSVC 14 2015 Update 1 sets -fno-ms-compatibility by default, but this does not allow to compile many projects
+ # note: MSVC 14 2015 Update 1 sets -fno-ms-compatibility by default, but this does not allow one to compile many projects
# that include MS's own headers. CMake itself is affected project too.
set(CMAKE_${lang}_FLAGS_INIT "${_PLATFORM_DEFINES}${_PLATFORM_DEFINES_${lang}} -fms-extensions -fms-compatibility -D_WINDOWS -Wall${_FLAGS_${lang}}")
set(CMAKE_${lang}_FLAGS_DEBUG_INIT "-D_DEBUG /MDd -gline-tables-only -fno-inline -O0 ${_RTC1}")