diff options
Diffstat (limited to 'Modules/GenerateExportHeader.cmake')
-rw-r--r-- | Modules/GenerateExportHeader.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/GenerateExportHeader.cmake b/Modules/GenerateExportHeader.cmake index 978a924..7e644b1 100644 --- a/Modules/GenerateExportHeader.cmake +++ b/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() |