mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fix some failing plugin tests on OS X 10.11
By default, OS X 10.11 does not include openssl headers. Since building a Bro plugin #includes Bro headers, which #include openssl headers, we need to tell cmake to find these so that the compiler can use them.
This commit is contained in:
parent
49ca47895d
commit
a4e5591e18
2 changed files with 6 additions and 0 deletions
|
@ -9,6 +9,9 @@ endif ()
|
||||||
|
|
||||||
set(CMAKE_MODULE_PATH ${BRO_DIST}/cmake)
|
set(CMAKE_MODULE_PATH ${BRO_DIST}/cmake)
|
||||||
|
|
||||||
|
find_package(OpenSSL)
|
||||||
|
include_directories(${OPENSSL_INCLUDE_DIR})
|
||||||
|
|
||||||
include(BroPlugin)
|
include(BroPlugin)
|
||||||
|
|
||||||
bro_plugin_begin(Demo Foo)
|
bro_plugin_begin(Demo Foo)
|
||||||
|
|
|
@ -9,6 +9,9 @@ endif ()
|
||||||
|
|
||||||
set(CMAKE_MODULE_PATH ${BRO_DIST}/cmake)
|
set(CMAKE_MODULE_PATH ${BRO_DIST}/cmake)
|
||||||
|
|
||||||
|
find_package(OpenSSL)
|
||||||
|
include_directories(${OPENSSL_INCLUDE_DIR})
|
||||||
|
|
||||||
include(BroPlugin)
|
include(BroPlugin)
|
||||||
|
|
||||||
bro_plugin_begin(Demo Foo)
|
bro_plugin_begin(Demo Foo)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue