summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-05-06 17:48:42 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-05-06 17:48:42 (GMT)
commit8e767a27d29a1ca4d456e6484893a51347f0d484 (patch)
tree860841861e9b63d8c02f70600d9e7bb601e05707 /Tests
parent58557486db5343f7d63f709177be980ad8ced590 (diff)
parent3fdfa5d3fc1170f1cc69636765502ca14b1821ef (diff)
downloadCMake-8e767a27d29a1ca4d456e6484893a51347f0d484.zip
CMake-8e767a27d29a1ca4d456e6484893a51347f0d484.tar.gz
CMake-8e767a27d29a1ca4d456e6484893a51347f0d484.tar.bz2
Merge topic 'CMAKE_CXX_KNOWN_FEATURES-global-property'
3fdfa5d3 Features: Make CMAKE_CXX_KNOWN_FEATURES a property.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CompileFeatures/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/CompileFeatures/CMakeLists.txt b/Tests/CompileFeatures/CMakeLists.txt
index ce5004b..501138d 100644
--- a/Tests/CompileFeatures/CMakeLists.txt
+++ b/Tests/CompileFeatures/CMakeLists.txt
@@ -22,7 +22,8 @@ macro(run_test feature)
endif()
endmacro()
-foreach(feature ${CMAKE_CXX_KNOWN_FEATURES})
+get_property(features GLOBAL PROPERTY CMAKE_CXX_KNOWN_FEATURES)
+foreach(feature ${features})
run_test(${feature})
endforeach()