From: Boyuan Yang <byang@debian.org>
Date: Sat, 16 Aug 2025 18:58:43 -0400
Subject: Build with cxx17 instead of cxx11

Googletest no longer supports building in c++11. Bumping version
specification in CMakeLists.txt to c++17.

Forwarded: not-needed
Last-Update: 2025-08-16
---
 CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 19852cd..0fa5996 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -32,9 +32,9 @@ if(WIN32
    OR CYGWIN
    OR MSYS)
   # Allow use of rand_r() / fdopen() and other POSIX functions.
-  require_cxx_flag_nomsvc("-std=gnu++11")
+  require_cxx_flag_nomsvc("-std=gnu++17")
 else()
-  require_cxx_flag_nomsvc("-std=c++11")
+  require_cxx_flag_nomsvc("-std=c++17")
 endif()
 
 add_cxx_preproc_definition("__STDC_CONSTANT_MACROS")
