summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-01-23 15:50:22 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-01-23 15:50:22 (GMT)
commit9f559a26080a7c76210277999385e50a9412300c (patch)
tree19363eb7f905342b851d4c28fd20517028c56b3a /Tests
parent0bda22f247bffa75abc184e96451835f4450145c (diff)
parent374a66b58ced947d9713dfd6f439a52b6646e923 (diff)
downloadCMake-9f559a26080a7c76210277999385e50a9412300c.zip
CMake-9f559a26080a7c76210277999385e50a9412300c.tar.gz
CMake-9f559a26080a7c76210277999385e50a9412300c.tar.bz2
Merge topic 'GNU-4.4-compile-features'
374a66b5 Features: Blacklist raw string literals test for GNU 4.4
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CompileFeatures/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/CMakeLists.txt b/Tests/CompileFeatures/CMakeLists.txt
index ef37dcb..aacf4c1 100644
--- a/Tests/CompileFeatures/CMakeLists.txt
+++ b/Tests/CompileFeatures/CMakeLists.txt
@@ -63,6 +63,14 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL SunPro)
endif()
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU"
+ AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.5)
+ # The cxx_raw_string_literals feature happens to work in some distributions
+ # of GNU 4.4, but it is first documented as available with GNU 4.5.
+ list(REMOVE_ITEM CXX_non_features
+ cxx_raw_string_literals
+ )
+endif()
+if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU"
AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.6)
# The cxx_constexpr feature happens to work (for *this* testcase) with
# GNU 4.5, but it is first documented as available with GNU 4.6.