diff options
author | Stephen Kelly <steveire@gmail.com> | 2011-08-10 08:33:14 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2011-08-10 08:36:24 (GMT) |
commit | d123bce1ebb9ef8406272fece45e44b66b3df11a (patch) | |
tree | be03c644829a1c626ba23b378d39d51a1fb432c8 /Modules/GenerateExportHeader.cmake | |
parent | 3574b759160bc4609fb799862e75a33b25c932e7 (diff) | |
download | CMake-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.cmake | 2 |
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() |