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

This commit is contained in:
Marcus D. Hanwell 2011-09-19 14:55:19 -04:00
parent d6795685ae
commit 2d1acfe359
1 changed files with 1 additions and 1 deletions

View File

@ -353,7 +353,7 @@ function(add_compiler_export_flags)
_test_compiler_has_deprecated() _test_compiler_has_deprecated()
if(NOT (USE_COMPILER_HIDDEN_VISIBILITY AND COMPILER_HAS_HIDDEN_VISIBILITY)) 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() return()
endif() endif()