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:
Daniel Thayer 2016-05-12 15:58:09 -05:00
parent 49ca47895d
commit a4e5591e18
2 changed files with 6 additions and 0 deletions

View file

@ -9,6 +9,9 @@ endif ()
set(CMAKE_MODULE_PATH ${BRO_DIST}/cmake)
find_package(OpenSSL)
include_directories(${OPENSSL_INCLUDE_DIR})
include(BroPlugin)
bro_plugin_begin(Demo Foo)