소스 검색

Add some debug output.

Hopefully this shows up in continuous test output.
Stephen Kelly 14 년 전
부모
커밋
d123bce1eb
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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()