diff --git a/CMakeLists.txt b/CMakeLists.txt index 03551961e..75d8369c4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2951,6 +2951,10 @@ elseif (USE_MBEDTLS) ${SUPPORT_DEFINITIONS} ) set(SUPPORT_LIBS mbedcrypto ${SUPPORT_LIBS}) + + if (COMPILER_CLANG) + target_compile_options(mbedcrypto PRIVATE -Wno-switch-default) + endif() endif() # *****************************************************************************************