mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-17 04:31:04 -06:00
Don't change the expected build result based on the platform.
Hopefully the compiler feature tests will cover those cases.
This commit is contained in:
@@ -78,11 +78,7 @@ endmacro()
|
|||||||
|
|
||||||
macro(build_fail Include Library LibrarySource Source Message)
|
macro(build_fail Include Library LibrarySource Source Message)
|
||||||
_do_build(${Include} ${Library} ${LibrarySource} "${Source}")
|
_do_build(${Include} ${Library} ${LibrarySource} "${Source}")
|
||||||
if(COMPILER_HAS_HIDDEN_VISIBILITY OR WIN32 OR (${CMAKE_CXX_COMPILER_ID} MATCHES Clang))
|
test_fail(Result ${Message})
|
||||||
test_fail(Result ${Message})
|
|
||||||
else()
|
|
||||||
test_pass(Result ${Message})
|
|
||||||
endif()
|
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
macro(build_pass Include Library LibrarySource Source Message)
|
macro(build_pass Include Library LibrarySource Source Message)
|
||||||
|
|||||||
Reference in New Issue
Block a user