diff options
author | Marcus D. Hanwell <marcus.hanwell@kitware.com> | 2013-02-20 16:48:12 (GMT) |
---|---|---|
committer | Marcus D. Hanwell <marcus.hanwell@kitware.com> | 2013-02-20 16:48:12 (GMT) |
commit | 1e0891e28ac8d595a7bdab6dc2ac5c3d76061233 (patch) | |
tree | e56dda3781fa18f92d53e5d55d71eaf70c2133bf /Modules/GenerateExportHeader.cmake | |
parent | f7029572ca5948ff87ba0c6e8aaff35f6fdab4f1 (diff) | |
download | CMake-1e0891e28ac8d595a7bdab6dc2ac5c3d76061233.zip CMake-1e0891e28ac8d595a7bdab6dc2ac5c3d76061233.tar.gz CMake-1e0891e28ac8d595a7bdab6dc2ac5c3d76061233.tar.bz2 |
Removed GenerateExportHeader warnings about old compilers
These warnings tend to flood the dashboard submissions, and it is doing
what it should (degrade gracefully with older compilers).
Diffstat (limited to 'Modules/GenerateExportHeader.cmake')
-rw-r--r-- | Modules/GenerateExportHeader.cmake | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Modules/GenerateExportHeader.cmake b/Modules/GenerateExportHeader.cmake index ce23d5d..c88a3a2 100644 --- a/Modules/GenerateExportHeader.cmake +++ b/Modules/GenerateExportHeader.cmake @@ -156,16 +156,12 @@ macro(_test_compiler_hidden_visibility) if(CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.2") set(GCC_TOO_OLD TRUE) - message(WARNING "GCC version older than 4.2") elseif(CMAKE_COMPILER_IS_GNUC AND CMAKE_C_COMPILER_VERSION VERSION_LESS "4.2") set(GCC_TOO_OLD TRUE) - message(WARNING "GCC version older than 4.2") elseif(CMAKE_CXX_COMPILER_ID MATCHES Intel AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "12.0") set(_INTEL_TOO_OLD TRUE) - message(WARNING "Intel compiler older than 12.0") endif() - # Exclude XL here because it misinterprets -fvisibility=hidden even though # the check_cxx_compiler_flag passes # http://www.cdash.org/CDash/testDetails.php?test=109109951&build=1419259 |