mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
Merge remote-tracking branch 'origin/topic/awelzel/release-6.0-openssl-include-dir' into release/6.0
* origin/topic/awelzel/release-6.0-openssl-include-dir: CMakeLists: Fix OPENSSL_INCLUDE_DIR reference
This commit is contained in:
commit
87663c4618
1 changed files with 3 additions and 3 deletions
|
@ -287,9 +287,6 @@ target_include_directories(
|
|||
zeek_dynamic_plugin_base
|
||||
INTERFACE $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>)
|
||||
if (OPENSSL_INCLUDE_DIR)
|
||||
target_include_directories(zeek_dynamic_plugin_base INTERFACE "${OPENSSL_INCLUDE_DIR}")
|
||||
endif ()
|
||||
target_link_libraries(zeek_dynamic_plugin_base INTERFACE Threads::Threads)
|
||||
add_library(Zeek::DynamicPluginBase ALIAS zeek_dynamic_plugin_base)
|
||||
set_target_properties(zeek_dynamic_plugin_base PROPERTIES EXPORT_NAME DynamicPluginBase)
|
||||
|
@ -1033,6 +1030,9 @@ endif ()
|
|||
# --with-openssl (which may be common).
|
||||
include_directories(BEFORE ${OPENSSL_INCLUDE_DIR})
|
||||
|
||||
# Propagate non-standard OpenSSL includes to dynamic plugins.
|
||||
target_include_directories(zeek_dynamic_plugin_base INTERFACE "${OPENSSL_INCLUDE_DIR}")
|
||||
|
||||
# Determine if libfts is external to libc, i.e. musl
|
||||
find_package(FTS)
|
||||
if (FTS_FOUND)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue