summaryrefslogtreecommitdiffstats
path: root/Modules/GenerateExportHeader.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2011-08-10 08:33:14 (GMT)
committerStephen Kelly <steveire@gmail.com>2011-08-10 08:36:24 (GMT)
commitd123bce1ebb9ef8406272fece45e44b66b3df11a (patch)
treebe03c644829a1c626ba23b378d39d51a1fb432c8 /Modules/GenerateExportHeader.cmake
parent3574b759160bc4609fb799862e75a33b25c932e7 (diff)
downloadCMake-d123bce1ebb9ef8406272fece45e44b66b3df11a.zip
CMake-d123bce1ebb9ef8406272fece45e44b66b3df11a.tar.gz
CMake-d123bce1ebb9ef8406272fece45e44b66b3df11a.tar.bz2
Add some debug output.
Hopefully this shows up in continuous test output.
Diffstat (limited to 'Modules/GenerateExportHeader.cmake')
-rw-r--r--Modules/GenerateExportHeader.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/GenerateExportHeader.cmake b/Modules/GenerateExportHeader.cmake
index 978a924..7e644b1 100644
--- a/Modules/GenerateExportHeader.cmake
+++ b/Modules/GenerateExportHeader.cmake
@@ -229,6 +229,7 @@ function(add_compiler_export_flags)
_test_compiler_hidden_visibility()
if(NOT (USE_COMPILER_HIDDEN_VISIBILITY AND COMPILER_HAS_HIDDEN_VISIBILITY) OR MINGW)
+ message(WARNING "Compiler doesn't have hidden visibility")
return()
endif()
@@ -242,6 +243,7 @@ function(add_compiler_export_flags)
endif()
if(${_gcc_version} VERSION_LESS "4.2")
+ message(WARNING "GCC version older than 4.2")
return()
endif()
endif()