mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Added forgotten libz and libmagic include dirs to the search path.
This allows them to be located in a non-standard location.
This commit is contained in:
parent
d043aba54d
commit
bc1a25da37
2 changed files with 9 additions and 5 deletions
|
@ -70,10 +70,6 @@ find_package(BISON REQUIRED)
|
|||
find_package(PCAP REQUIRED)
|
||||
find_package(OpenSSL REQUIRED)
|
||||
find_package(BIND REQUIRED)
|
||||
include_directories(BEFORE
|
||||
${PCAP_INCLUDE_DIR}
|
||||
${OPENSSL_INCLUDE_DIR}
|
||||
${BIND_INCLUDE_DIR})
|
||||
|
||||
# This test is for when the user would like to use rebuild BinPAC
|
||||
# rather than use an existing installation
|
||||
|
@ -107,6 +103,15 @@ endif ()
|
|||
# TODO: optional libGeoIP
|
||||
# TODO: optional Google perftools
|
||||
|
||||
include_directories(BEFORE
|
||||
${PCAP_INCLUDE_DIR}
|
||||
${OPENSSL_INCLUDE_DIR}
|
||||
${BIND_INCLUDE_DIR}
|
||||
${BinPAC_INCLUDE_DIR}
|
||||
${LibMagic_INCLUDE_DIR}
|
||||
${ZLIB_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
##
|
||||
## Configuration Checks/Tests
|
||||
##
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${BinPAC_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
macro(REPLACE_YY_PREFIX_TARGET inFile outFile yylexPrefix yyPrefix)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue