浏览代码

Don't warn when nothing to do in visibility function.

Marcus D. Hanwell 14 年之前
父节点
当前提交
2d1acfe359
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Modules/GenerateExportHeader.cmake

+ 1 - 1
Modules/GenerateExportHeader.cmake

@@ -353,7 +353,7 @@ function(add_compiler_export_flags)
   _test_compiler_has_deprecated()
 
   if(NOT (USE_COMPILER_HIDDEN_VISIBILITY AND COMPILER_HAS_HIDDEN_VISIBILITY))
-    message(WARNING "Compiler doesn't have hidden visibility")
+    # Just return if there are no flags to add.
     return()
   endif()