summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-01-03 14:18:39 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-01-03 14:18:39 (GMT)
commit6296192defaaaa4c18b1821614c20b95ad94f806 (patch)
tree3a17715ba85d68da9ffea1aec27857a9b21a3d6c /Tests/CompileFeatures
parentc13656e7173a517961349a5fe20ce0f727d37568 (diff)
downloadCMake-6296192defaaaa4c18b1821614c20b95ad94f806.zip
CMake-6296192defaaaa4c18b1821614c20b95ad94f806.tar.gz
CMake-6296192defaaaa4c18b1821614c20b95ad94f806.tar.bz2
Features: Add a comment explaining part of test.
Diffstat (limited to 'Tests/CompileFeatures')
-rw-r--r--Tests/CompileFeatures/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/CMakeLists.txt b/Tests/CompileFeatures/CMakeLists.txt
index 832f68b..834ac7c 100644
--- a/Tests/CompileFeatures/CMakeLists.txt
+++ b/Tests/CompileFeatures/CMakeLists.txt
@@ -33,6 +33,8 @@ endforeach()
if (CMAKE_CXX_COMPILER_ID STREQUAL GNU
AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.8)
+ # The cxx_alignof feature happens to work (for *this* testcase) with
+ # GNU 4.7, but it is first documented as available with GNU 4.8.
list(REMOVE_ITEM CXX_non_features
cxx_alignof
)