Forráskód Böngészése

Add some debug output.

Hopefully this shows up in continuous test output.
Stephen Kelly 14 éve
szülő
commit
d123bce1eb
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      Modules/GenerateExportHeader.cmake

+ 2 - 0
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()