summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-07-27 14:44:13 +0000
committerKitware Robot <kwrobot@kitware.com>2020-07-27 10:47:57 -0400
commit16f77ce4129c7228217887f85ee706425484d570 (patch)
tree59ce3ba65efae32f4ac41d2929b4d5811686b8e3 /bootstrap
parent90c88302b52cb1f5095fcb0911091b3135d29ffb (diff)
parent796466284bf745b55ad2d15dd51f894520245888 (diff)
downloadcmake-16f77ce4129c7228217887f85ee706425484d570.tar.gz
Merge topic 'bootstrap-intel' into release-3.18
796466284b bootstrap: Fix support for Intel compiler with modern GNU system compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5057
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap b/bootstrap
index 18ab0737dc..04067dc7ac 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1181,7 +1181,7 @@ int check_cxx14()
}
#endif
-#if (__cplusplus >= 201703L || defined(__INTEL_COMPILER) && defined(__cpp_if_constexpr))
+#if (__cplusplus >= 201703L || defined(__INTEL_COMPILER) && defined(__cpp_deduction_guides))
#include <optional>
template <typename T,
typename std::invoke_result<decltype(&T::get), T>::type = nullptr>