diff options
author | Brad King <brad.king@kitware.com> | 2016-11-03 08:54:28 -0400 |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-11-03 08:54:28 -0400 |
commit | 90e09fb958e761b416863052ca5408ed4280443b (patch) | |
tree | 07ae29c1b1e906bffd8f50fdd69464f92e0d97fe | |
parent | ffe78961ada28f3777066228b4e5870889b42f70 (diff) | |
parent | b902f2a98a6764857f74608250219186f262a207 (diff) | |
download | cmake-90e09fb958e761b416863052ca5408ed4280443b.tar.gz |
Merge topic 'intel-compile-features-windows'
b902f2a9 Features: Fix Intel cxx_attributes existence condition
-rw-r--r-- | Modules/Compiler/Intel-CXX-FeatureTests.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/Intel-CXX-FeatureTests.cmake b/Modules/Compiler/Intel-CXX-FeatureTests.cmake index 5b74fabbe2..d1a34339d5 100644 --- a/Modules/Compiler/Intel-CXX-FeatureTests.cmake +++ b/Modules/Compiler/Intel-CXX-FeatureTests.cmake @@ -88,7 +88,7 @@ set(_cmake_feature_test_cxx_variadic_templates "(__cpp_variadic_templates >= 200 set(_cmake_feature_test_cxx_alias_templates "${Intel121_CXX11}") set(_cmake_feature_test_cxx_nullptr "${Intel121_CXX11}") set(_cmake_feature_test_cxx_trailing_return_types "${Intel121_CXX11}") -set(_cmake_feature_test_cxx_attributes "__cpp_attributes >= 200809 || ${Intel121}") +set(_cmake_feature_test_cxx_attributes "(__cpp_attributes >= 200809 || ${Intel121}) && ${DETECT_CXX11}") # [1] set(_cmake_feature_test_cxx_default_function_template_args "${Intel121_CXX11}") set(_cmake_feature_test_cxx_extended_friend_declarations "${Intel121_CXX11}") set(_cmake_feature_test_cxx_rvalue_references "(__cpp_rvalue_references >= 200610 || ${Intel121}) && ${DETECT_CXX11}") # [1] |