소스 검색

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