We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40e2194 commit ba3cb5bCopy full SHA for ba3cb5b
CMakeLists.txt
@@ -199,6 +199,10 @@ if(TRANTOR_TLS_PROVIDER STREQUAL "None" AND (TRANTOR_USE_TLS STREQUAL "botan" OR
199
if(Botan_FOUND)
200
target_compile_definitions(${PROJECT_NAME} PRIVATE USE_BOTAN)
201
target_link_libraries(${PROJECT_NAME} PRIVATE Botan::Botan)
202
+ if(CMAKE_CXX_COMPILER_ID MATCHES Clang|GNU)
203
+ # Trantor uses some features that are deprecated in C++20 but Botan3 needs C++20
204
+ target_compile_options(${PROJECT_NAME} PRIVATE -Wno-deprecated)
205
+ endif()
206
set(TRANTOR_TLS_PROVIDER "Botan")
207
208
set(TRANTOR_SOURCES ${TRANTOR_SOURCES} trantor/net/inner/tlsprovider/BotanTLSProvider.cc
0 commit comments