[libc++] [libc++abi] Use C++20 standard.
This change is needed to use char8_t when building libc++.
Using the same standard in libc++abi for coherence.
See https://reviews.llvm.org/D91517.
Reviewed By: ldionne, #libc, #libc_abi
Differential Revision: https://reviews.llvm.org/D91691
GitOrigin-RevId: 3b625060fc91598d28196e559196bfc7b9a929f9
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 7353c20..a8e12aa 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -174,9 +174,9 @@
CXX_EXTENSIONS
OFF
CXX_STANDARD
- 17
+ 20
CXX_STANDARD_REQUIRED
- ON
+ OFF
COMPILE_FLAGS
"${LIBCXXABI_COMPILE_FLAGS}"
LINK_FLAGS
@@ -241,9 +241,9 @@
CXX_EXTENSIONS
OFF
CXX_STANDARD
- 17
+ 20
CXX_STANDARD_REQUIRED
- ON
+ OFF
COMPILE_FLAGS
"${LIBCXXABI_COMPILE_FLAGS}"
LINK_FLAGS