Add some debug output.

Hopefully this shows up in continuous test output.
This commit is contained in:
Stephen Kelly 2011-08-10 10:33:14 +02:00
parent 3574b75916
commit d123bce1eb
1 changed files with 2 additions and 0 deletions

View File

@ -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()