summaryrefslogtreecommitdiff
path: root/Modules/Compiler
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-10-08 09:13:39 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-10-08 09:13:39 +0900
commit5e0b8c3fb67987a77056099c684318ef5d707920 (patch)
treec3a3b53d4d61c2c94f609ee26a71671a484ea32d /Modules/Compiler
parentc63a2296411acf2bed956eda98a60e612a2fc94e (diff)
downloadcmake-5e0b8c3fb67987a77056099c684318ef5d707920.tar.gz
cmake-5e0b8c3fb67987a77056099c684318ef5d707920.tar.bz2
cmake-5e0b8c3fb67987a77056099c684318ef5d707920.zip
Imported Upstream version 3.13.4upstream/3.13.4
Diffstat (limited to 'Modules/Compiler')
-rw-r--r--Modules/Compiler/Intel-CXX-FeatureTests.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/Intel-CXX-FeatureTests.cmake b/Modules/Compiler/Intel-CXX-FeatureTests.cmake
index 0df6c0fe9..aa35b977e 100644
--- a/Modules/Compiler/Intel-CXX-FeatureTests.cmake
+++ b/Modules/Compiler/Intel-CXX-FeatureTests.cmake
@@ -24,7 +24,7 @@ set(DETECT_CXX14 "((__cplusplus >= 201300L) || ((__cplusplus == 201103L) && !def
unset(DETECT_BUGGY_ICC15)
set(Intel17_CXX14 "__INTEL_COMPILER >= 1700 && ${DETECT_CXX14}")
-set(_cmake_feature_test_cxx_relaxed_constexpr "__cpp_constexpr >= 201304 || (${Intel17_CXX14} && __INTEL_COMPILER != 1800 && !defined(_MSC_VER))")
+set(_cmake_feature_test_cxx_relaxed_constexpr "__cpp_constexpr >= 201304 || (${Intel17_CXX14} && !(__INTEL_COMPILER == 1800 && __INTEL_COMPILER_UPDATE < 5) && !defined(_MSC_VER))")
set(Intel16_CXX14 "__INTEL_COMPILER >= 1600 && ${DETECT_CXX14}")
set(_cmake_feature_test_cxx_aggregate_default_initializers "${Intel16_CXX14}")