summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-09-14 14:11:43 (GMT)
committerBrad King <brad.king@kitware.com>2016-09-14 14:12:30 (GMT)
commit152bbe5068fc125351f728f04a14113e08f87671 (patch)
treebc4bddb25473f693da4a527b3f83bde1b84e74f4 /Modules
parenta6d3f5418c4f2c1bd99272a9fac1cf4e33b1df09 (diff)
downloadCMake-152bbe5068fc125351f728f04a14113e08f87671.zip
CMake-152bbe5068fc125351f728f04a14113e08f87671.tar.gz
CMake-152bbe5068fc125351f728f04a14113e08f87671.tar.bz2
Modules: Fix typos in name of `CMAKE_COMPILER_IS_GNUCC` variable
It is not called `CMAKE_COMPILER_IS_GNUC` (without last `C`). Closes: #16297
Diffstat (limited to 'Modules')
-rw-r--r--Modules/GenerateExportHeader.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/GenerateExportHeader.cmake b/Modules/GenerateExportHeader.cmake
index e33b927..bacf137 100644
--- a/Modules/GenerateExportHeader.cmake
+++ b/Modules/GenerateExportHeader.cmake
@@ -208,7 +208,7 @@ macro(_test_compiler_hidden_visibility)
if(CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.2")
set(GCC_TOO_OLD TRUE)
- elseif(CMAKE_COMPILER_IS_GNUC AND CMAKE_C_COMPILER_VERSION VERSION_LESS "4.2")
+ elseif(CMAKE_COMPILER_IS_GNUCC AND CMAKE_C_COMPILER_VERSION VERSION_LESS "4.2")
set(GCC_TOO_OLD TRUE)
elseif(CMAKE_CXX_COMPILER_ID MATCHES Intel AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "12.0")
set(_INTEL_TOO_OLD TRUE)