summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-09-05 14:35:33 (GMT)
committerBrad King <brad.king@kitware.com>2016-09-06 14:22:39 (GMT)
commit21346d3f12f6ec35680574df44430c7bfb2efecb (patch)
treeef864b14b07950be003ebff14ec80f4ea7e9691b /Modules
parent042aca557defd72d7205becb7e54c9f93793b496 (diff)
downloadCMake-21346d3f12f6ec35680574df44430c7bfb2efecb.zip
CMake-21346d3f12f6ec35680574df44430c7bfb2efecb.tar.gz
CMake-21346d3f12f6ec35680574df44430c7bfb2efecb.tar.bz2
Features: Record features for VS 15 Preview 4
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Compiler/MSVC-CXX-FeatureTests.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/Compiler/MSVC-CXX-FeatureTests.cmake b/Modules/Compiler/MSVC-CXX-FeatureTests.cmake
index 79d5962..5969586 100644
--- a/Modules/Compiler/MSVC-CXX-FeatureTests.cmake
+++ b/Modules/Compiler/MSVC-CXX-FeatureTests.cmake
@@ -9,6 +9,9 @@
set(_cmake_oldestSupported "_MSC_VER >= 1600")
+# VS version 15 (not 2015) introduces support for aggregate initializers.
+set(_cmake_feature_test_cxx_aggregate_default_initializers "_MSC_FULL_VER >= 190024406")
+
# VS 2015 Update 2 introduces support for variable templates.
# https://www.visualstudio.com/en-us/news/vs2015-update2-vs.aspx
set(_cmake_feature_test_cxx_variable_templates "_MSC_FULL_VER >= 190023918")