mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
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:
parent
a2a535d0c9
commit
d3d49727ee
1 changed files with 4 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue