You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
728 B

  1. --- a/CMakeLists.txt
  2. +++ b/CMakeLists.txt
  3. @@ -38,9 +38,9 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
  4. add_compile_options(/utf-8)
  5. elseif(CYGWIN OR MINGW)
  6. # See https://stackoverflow.com/questions/38139631 for details.
  7. - add_compile_options(-std=gnu++11)
  8. + add_compile_options(-std=gnu++17)
  9. elseif(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
  10. - add_compile_options(-std=c++11)
  11. + add_compile_options(-std=c++17)
  12. endif()
  13. if(WIN32)
  14. --- a/re2.pc
  15. +++ b/re2.pc
  16. @@ -6,5 +6,5 @@ libdir=@libdir@
  17. Name: re2
  18. Description: RE2 is a fast, safe, thread-friendly regular expression engine.
  19. Version: 0.0.0
  20. -Cflags: -std=c++11 -pthread -I${includedir}
  21. +Cflags: -std=c++17 -pthread -I${includedir}
  22. Libs: -pthread -L${libdir} -lre2