summaryrefslogtreecommitdiffstats
path: root/Modules/GenerateExportHeader.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-02-25 18:11:29 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-02-25 18:11:29 (GMT)
commit20d0b37f4a0d8c08c4bf31440d8e1bc14cdd86b2 (patch)
treee75028039683b241ddd3edd4b896993e3293fc57 /Modules/GenerateExportHeader.cmake
parent3044443b405c16253eb1de9019e0a2556b20d0cf (diff)
parent1e0891e28ac8d595a7bdab6dc2ac5c3d76061233 (diff)
downloadCMake-20d0b37f4a0d8c08c4bf31440d8e1bc14cdd86b2.zip
CMake-20d0b37f4a0d8c08c4bf31440d8e1bc14cdd86b2.tar.gz
CMake-20d0b37f4a0d8c08c4bf31440d8e1bc14cdd86b2.tar.bz2
Merge topic 'generate-export-header-warnings'
1e0891e Removed GenerateExportHeader warnings about old compilers
Diffstat (limited to 'Modules/GenerateExportHeader.cmake')
-rw-r--r--Modules/GenerateExportHeader.cmake4
1 files changed, 0 insertions, 4 deletions
diff --git a/Modules/GenerateExportHeader.cmake b/Modules/GenerateExportHeader.cmake
index aa54534..892ebc6 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