diff options
author | Stephen Kelly <steveire@gmail.com> | 2011-08-11 22:30:31 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2011-08-11 22:30:31 (GMT) |
commit | 856bdb317bc0d38327a7a9c7e9105ee1cd39f18a (patch) | |
tree | 8628a41387140a763d41d0b97646c2efefb54bd3 /Tests/Module/GenerateExportHeader | |
parent | df4615e3380cda2bf29d3dfdcfd26b020a64e707 (diff) | |
download | CMake-856bdb317bc0d38327a7a9c7e9105ee1cd39f18a.zip CMake-856bdb317bc0d38327a7a9c7e9105ee1cd39f18a.tar.gz CMake-856bdb317bc0d38327a7a9c7e9105ee1cd39f18a.tar.bz2 |
Don't change the expected build result based on the platform.
Hopefully the compiler feature tests will cover those cases.
Diffstat (limited to 'Tests/Module/GenerateExportHeader')
-rw-r--r-- | Tests/Module/GenerateExportHeader/CMakeLists.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Tests/Module/GenerateExportHeader/CMakeLists.txt b/Tests/Module/GenerateExportHeader/CMakeLists.txt index 05d1519..febf90f 100644 --- a/Tests/Module/GenerateExportHeader/CMakeLists.txt +++ b/Tests/Module/GenerateExportHeader/CMakeLists.txt @@ -78,11 +78,7 @@ endmacro() macro(build_fail Include Library LibrarySource Source Message) _do_build(${Include} ${Library} ${LibrarySource} "${Source}") - if(COMPILER_HAS_HIDDEN_VISIBILITY OR WIN32 OR (${CMAKE_CXX_COMPILER_ID} MATCHES Clang)) - test_fail(Result ${Message}) - else() - test_pass(Result ${Message}) - endif() + test_fail(Result ${Message}) endmacro() macro(build_pass Include Library LibrarySource Source Message) |