summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-09-15 12:46:30 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-09-15 12:46:30 (GMT)
commit0b282335ab2dd9788d7203cc2f94d4f695d686a4 (patch)
tree78757555c97a46f1e03309cebb319aaec318daf8 /Modules
parentf129dc752b09fbfea70b6cfc69acdfb752d3b659 (diff)
parent152bbe5068fc125351f728f04a14113e08f87671 (diff)
downloadCMake-0b282335ab2dd9788d7203cc2f94d4f695d686a4.zip
CMake-0b282335ab2dd9788d7203cc2f94d4f695d686a4.tar.gz
CMake-0b282335ab2dd9788d7203cc2f94d4f695d686a4.tar.bz2
Merge topic 'fix-CMAKE_COMPILER_IS_GNU-confusion'
152bbe50 Modules: Fix typos in name of `CMAKE_COMPILER_IS_GNUCC` variable a6d3f541 Help: Clarify documentation of CMAKE_COMPILER_IS_GNU{CC,CXX,G77}
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)