Skip to content

Commit

Permalink
feat: disabled documentation warning when compiling with AppleClang (#…
Browse files Browse the repository at this point in the history
…618)

AppleClang has updated to Clang15. And since Clang15 there is a warning in mbedtls regarded to a doxygen comment
  • Loading branch information
daantimmer authored Apr 26, 2024
1 parent 5e2298e commit 5fd230a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions external/crypto/mbedtls/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ function(add_mbedtls_target_properties)
# mbedtls sets the -Wdocumentation flag, which is throwing warnings
# since clang-15
$<$<CXX_COMPILER_ID:Clang>:-Wno-documentation>
$<$<CXX_COMPILER_ID:AppleClang>:-Wno-documentation>
)

target_include_directories(${target} PUBLIC
Expand Down

0 comments on commit 5fd230a

Please sign in to comment.