diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-04-16 15:22:01 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-04-17 14:20:50 (GMT) |
commit | 447fbb3facd09a29a2a402df258acf01cbf0bc34 (patch) | |
tree | f0a98cea28393e1e60728cc90613574de039b68c /Tests/CMakeLists.txt | |
parent | 597bb72ed7a74bf9b70dec8726113050e731d667 (diff) | |
download | CMake-447fbb3facd09a29a2a402df258acf01cbf0bc34.zip CMake-447fbb3facd09a29a2a402df258acf01cbf0bc34.tar.gz CMake-447fbb3facd09a29a2a402df258acf01cbf0bc34.tar.bz2 |
Tests: Execute compile features tests unconditionally.
Conditionally create a dummy test if there are no known features.
Diffstat (limited to 'Tests/CMakeLists.txt')
-rw-r--r-- | Tests/CMakeLists.txt | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 12bd3b2..9d642cc 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -197,11 +197,9 @@ if(BUILD_TESTING) ADD_TEST_MACRO(TarTest TarTest) ADD_TEST_MACRO(SystemInformation SystemInformation) ADD_TEST_MACRO(MathTest MathTest) - if(CMAKE_CXX_COMPILER_ID STREQUAL GNU - AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.8) - ADD_TEST_MACRO(CompileFeatures CompileFeatures) - ADD_TEST_MACRO(CMakeCommands.target_compile_features target_compile_features) - endif() + ADD_TEST_MACRO(CompileFeatures CompileFeatures) + ADD_TEST_MACRO(CMakeCommands.target_compile_features target_compile_features) + # assume no resources building to test set(TEST_RESOURCES FALSE) # for windows and cygwin assume we have resources |