diff options
author | Stephen Kelly <steveire@gmail.com> | 2011-08-17 00:40:56 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2011-08-17 00:40:56 (GMT) |
commit | a9a8b9e8d194eb78cf5fb74fb902a0cf233f8ac0 (patch) | |
tree | 3428b7c6ee4ba62b1ccba4023ae06f94edcd1a0c /Tests | |
parent | afae7a95a06bf1cbec47b3b4471e5f11a41065cb (diff) | |
download | CMake-a9a8b9e8d194eb78cf5fb74fb902a0cf233f8ac0.zip CMake-a9a8b9e8d194eb78cf5fb74fb902a0cf233f8ac0.tar.gz CMake-a9a8b9e8d194eb78cf5fb74fb902a0cf233f8ac0.tar.bz2 |
Exclude win32 from hidden visibility checks.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/Module/CheckCXXCompilerFlag/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Tests/Module/CheckCXXCompilerFlag/CMakeLists.txt b/Tests/Module/CheckCXXCompilerFlag/CMakeLists.txt index 70bafb6..7775e14 100644 --- a/Tests/Module/CheckCXXCompilerFlag/CMakeLists.txt +++ b/Tests/Module/CheckCXXCompilerFlag/CMakeLists.txt @@ -41,7 +41,9 @@ check_cxx_compiler_flag(-fvisibility=hidden HAS_HIDDEN_VISIBILITY) message("HAS_HIDDEN_VISIBILITY: ${HAS_HIDDEN_VISIBILITY}\n\nCOMPILE OUTPUT:\n${OUTPUT}") if(CMAKE_COMPILER_IS_GNUCXX) - test_pass(HAS_HIDDEN_VISIBILITY "GCC should support hidden visibility, but does not.") + if(NOT WIN32) + test_pass(HAS_HIDDEN_VISIBILITY "GCC should support hidden visibility, but does not.") + endif() else() message("Unhandled Platform") endif() |