···11-This change bypasses all the code that attempts to see which C++11 features are enabled in your specific C++11 compiler. C++14 is required for gtest 1.13+.
11+This change bypasses all the code that attempts to see which C++11 features are enabled in your specific C++11 compiler. C++17 is required for gtest 1.17+.
22diff --git a/CMakeLists.txt b/CMakeLists.txt
33index 902233e676ee..49ac8a1010a4 100644
44--- a/CMakeLists.txt
···2020- ENDIF()
2121+ SET(TINS_HAVE_CXX11 ON)
2222+ MESSAGE(STATUS "Using C++11 features")
2323-+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
2323++ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
2424 ELSE(LIBTINS_ENABLE_CXX11)
2525 MESSAGE(
2626 WARNING
+5-3
pkgs/by-name/li/libtins/package.nix
···2121 };
22222323 patches = [
2424- # Required for gtest 1.13+, see also upstream report at:
2525- # https://github.com/mfontanini/libtins/issues/529
2626- ./0001-force-cpp-14.patch
2424+ # Required for gtest 1.17+:
2525+ # https://github.com/NixOS/nixpkgs/issues/425358
2626+ # See also an upstream report for gtest 1.13+ and C++14:
2727+ # https://github.com/mfontanini/libtins/issues/
2828+ ./0001-force-cpp-17.patch
2729 ];
28302931 postPatch = ''