File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ endif(MSVC)
161161
162162# set a few other things at the top level to prevent incompatibilities
163163set (CMAKE_C_STANDARD 99)
164- set (CMAKE_CXX_STANDARD 11 )
164+ set (CMAKE_CXX_STANDARD 17 )
165165set (CMAKE_CXX_STANDARD_REQUIRED ON )
166166set (CMAKE_CXX_EXTENSIONS OFF )
167167add_definitions (-D_GNU_SOURCE)
Original file line number Diff line number Diff line change @@ -78,8 +78,8 @@ if (CRYPTO_BACKEND_LOWERCASE STREQUAL "openssl")
7878 find_package (OpenSSL 1.1.1 REQUIRED)
7979endif ()
8080
81- if (NOT CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_VERSION VERSION_GREATER "4.8.5 " )
82- set (CMAKE_CXX_STANDARD 14 )
81+ if (NOT CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_VERSION VERSION_GREATER "7.0.0 " )
82+ set (CMAKE_CXX_STANDARD 17 )
8383endif ()
8484
8585if (CRYPTO_BACKEND_BOTAN3)
You can’t perform that action at this time.
0 commit comments