Skip to content

Commit

Permalink
mbedtls: silence some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Chilledheart committed Jun 27, 2024
1 parent 05c17ff commit c3d24f8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

# *****************************************************************************************
Expand Down

0 comments on commit c3d24f8

Please sign in to comment.