diff options
author | Brad King <brad.king@kitware.com> | 2016-09-15 12:46:30 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-09-15 12:46:30 (GMT) |
commit | 0b282335ab2dd9788d7203cc2f94d4f695d686a4 (patch) | |
tree | 78757555c97a46f1e03309cebb319aaec318daf8 /Modules | |
parent | f129dc752b09fbfea70b6cfc69acdfb752d3b659 (diff) | |
parent | 152bbe5068fc125351f728f04a14113e08f87671 (diff) | |
download | CMake-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.cmake | 2 |
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) |