From 3d2aa5473ca55d611ed63bd6cc882f26e87eb658 Mon Sep 17 00:00:00 2001 From: Joseph Huber Date: Tue, 20 Dec 2022 13:39:44 -0600 Subject: [PATCH] [OpenMP][NFC] Fix message to recommend C++17 instead of C++14 Summary: This was changed in LLVM 16.0. --- openmp/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmp/CMakeLists.txt b/openmp/CMakeLists.txt index b6e159c..0404647 100644 --- a/openmp/CMakeLists.txt +++ b/openmp/CMakeLists.txt @@ -102,7 +102,7 @@ if (OPENMP_ENABLE_LIBOMPTARGET) if (APPLE OR WIN32) message(FATAL_ERROR "libomptarget cannot be built on Windows and MacOS X!") elseif (NOT OPENMP_HAVE_STD_CPP17_FLAG) - message(FATAL_ERROR "Host compiler must support C++14 to build libomptarget!") + message(FATAL_ERROR "Host compiler must support C++17 to build libomptarget!") endif() add_subdirectory(libomptarget) -- 2.7.4