Suppress warnings from compilation of external ixwebsocket dependency

Clang warns about declared but unused parameters somewhere in the guts of
IXWebSocket (internal code, not its headers). We are not interested in
this or similar warnings since we do not control this code, so suppress
all warnings for this target.
This commit is contained in:
Benjamin Bannier 2025-04-16 20:35:23 +02:00
parent a2a535d0c9
commit d3d49727ee

View file

@ -5,3 +5,7 @@ set(USE_TLS ON)
set(USE_OPEN_SSL ON)
add_subdirectory(IXWebSocket)
# We are not interested in any warnings from `IXWebSocket`'s compilation
# itself, suppress them.
target_compile_options(ixwebsocket PRIVATE "-w")