summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-07-27 14:44:13 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-07-27 14:47:57 (GMT)
commit16f77ce4129c7228217887f85ee706425484d570 (patch)
tree59ce3ba65efae32f4ac41d2929b4d5811686b8e3
parent90c88302b52cb1f5095fcb0911091b3135d29ffb (diff)
parent796466284bf745b55ad2d15dd51f894520245888 (diff)
downloadCMake-16f77ce4129c7228217887f85ee706425484d570.zip
CMake-16f77ce4129c7228217887f85ee706425484d570.tar.gz
CMake-16f77ce4129c7228217887f85ee706425484d570.tar.bz2
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
-rwxr-xr-xbootstrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap b/bootstrap
index 18ab073..04067dc 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>