Skip to content
Snippets Groups Projects
Commit a9a8b9e8 authored by Stephen Kelly's avatar Stephen Kelly
Browse files

Exclude win32 from hidden visibility checks.

parent afae7a95
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment