From e27a4b5d72cb114ebf17921bb5592aa8f9ba9760 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 12 Dec 2023 21:53:13 -0500 Subject: [PATCH] Externals/mbedtls: Disable -Wdocumentation related warnings It's actually kind of wild that these flags are enabled by default. They produce an incredible amount of console output spam. Let's remove them, especially since we've made other changes to this CMakeLists.txt --- Externals/mbedtls/library/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Externals/mbedtls/library/CMakeLists.txt b/Externals/mbedtls/library/CMakeLists.txt index fc2786c7f2..5aa233e080 100644 --- a/Externals/mbedtls/library/CMakeLists.txt +++ b/Externals/mbedtls/library/CMakeLists.txt @@ -122,7 +122,7 @@ if(CMAKE_COMPILER_IS_GNUCC) endif(CMAKE_COMPILER_IS_GNUCC) if(CMAKE_COMPILER_IS_CLANG) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wmissing-declarations -Wmissing-prototypes -Wdocumentation -Wno-documentation-deprecated-sync -Wunreachable-code") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wmissing-declarations -Wmissing-prototypes -Wunreachable-code") endif(CMAKE_COMPILER_IS_CLANG) if(WIN32)