mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 13:08:20 +00:00
Avoid a CMake warning about 3rdparty looking like a number.
This commit is contained in:
parent
d7df8cec24
commit
4a134872d5
1 changed files with 7 additions and 1 deletions
|
@ -226,6 +226,10 @@ binpac_target(modbus.pac
|
||||||
|
|
||||||
find_package (Threads)
|
find_package (Threads)
|
||||||
|
|
||||||
|
# Avoid CMake warning about "3rdparty" looking like a number.
|
||||||
|
cmake_policy(PUSH)
|
||||||
|
cmake_policy(SET CMP0012 NEW)
|
||||||
|
|
||||||
# This macro stores associated headers for any C/C++ source files given
|
# This macro stores associated headers for any C/C++ source files given
|
||||||
# as arguments (past _var) as a list in the CMake variable named "_var".
|
# as arguments (past _var) as a list in the CMake variable named "_var".
|
||||||
macro(COLLECT_HEADERS _var)
|
macro(COLLECT_HEADERS _var)
|
||||||
|
@ -245,6 +249,8 @@ macro(COLLECT_HEADERS _var)
|
||||||
endforeach ()
|
endforeach ()
|
||||||
endmacro(COLLECT_HEADERS _var)
|
endmacro(COLLECT_HEADERS _var)
|
||||||
|
|
||||||
|
cmake_policy(POP)
|
||||||
|
|
||||||
# define a command that's used to run the make_dbg_constants.pl script
|
# define a command that's used to run the make_dbg_constants.pl script
|
||||||
# building the bro binary depends on the outputs of this script
|
# building the bro binary depends on the outputs of this script
|
||||||
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/DebugCmdConstants.h
|
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/DebugCmdConstants.h
|
||||||
|
@ -449,7 +455,7 @@ set(bro_SRCS
|
||||||
input/readers/Benchmark.cc
|
input/readers/Benchmark.cc
|
||||||
input/readers/SQLite.cc
|
input/readers/SQLite.cc
|
||||||
|
|
||||||
3rdparty/sqlite3.c
|
"3rdparty/sqlite3.c"
|
||||||
|
|
||||||
nb_dns.c
|
nb_dns.c
|
||||||
digest.h
|
digest.h
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue