mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 05:58:20 +00:00
binpac: Fix a large number of clang-tidy warnings
This commit is contained in:
parent
4dc546f8c8
commit
31b65f70da
48 changed files with 231 additions and 193 deletions
|
@ -21,6 +21,7 @@ if (BUILD_STATIC_BINPAC)
|
|||
target_compile_options(binpac_static PRIVATE "/J")
|
||||
endif ()
|
||||
set(BinPAC_LIBRARY binpac_static CACHE STRING "BinPAC library" FORCE)
|
||||
zeek_target_add_linters(binpac_static)
|
||||
else ()
|
||||
add_library(binpac_lib SHARED)
|
||||
target_sources(binpac_lib PRIVATE ${binpac_lib_SRCS})
|
||||
|
@ -31,6 +32,7 @@ else ()
|
|||
endif ()
|
||||
install(TARGETS binpac_lib DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
set(BinPAC_LIBRARY binpac_lib CACHE STRING "BinPAC library" FORCE)
|
||||
zeek_target_add_linters(binpac_lib)
|
||||
endif ()
|
||||
|
||||
if (ZEEK_ROOT_DIR)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue