Explorar o código

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

Marcus D. Hanwell %!s(int64=14) %!d(string=hai) anos
pai
achega
2d1acfe359
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()