diff options
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Compiler/MSVC-CXX-FeatureTests.cmake | 3 |
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") |