mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 21:48:21 +00:00
Merge remote-tracking branch 'origin/topic/bbannier/issue-3153'
* origin/topic/bbannier/issue-3153: Prefer Spicy include directories of this build over accidental ones.
This commit is contained in:
commit
a184816c80
6 changed files with 13 additions and 2 deletions
6
CHANGES
6
CHANGES
|
@ -1,3 +1,9 @@
|
|||
6.1.0-dev.121 | 2023-06-27 12:18:38 -0700
|
||||
|
||||
* Prefer Spicy include directories of this build over accidental ones. (Benjamin Bannier, Corelight)
|
||||
|
||||
Closes #3153.
|
||||
|
||||
6.1.0-dev.118 | 2023-06-27 18:17:40 +0200
|
||||
|
||||
* fix http AUTHORIZATION base64 decode failed (progmboy)
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
6.1.0-dev.118
|
||||
6.1.0-dev.121
|
||||
|
|
2
cmake
2
cmake
|
@ -1 +1 @@
|
|||
Subproject commit afa62ecbe399c3dac41f6ebcdb622f409569edd6
|
||||
Subproject commit 6085fefd5ce8f01426316aae095851a5784f4db6
|
|
@ -520,6 +520,7 @@ zeek_target_link_libraries(zeek_objs)
|
|||
|
||||
if (HAVE_SPICY)
|
||||
target_link_libraries(zeek_objs PRIVATE hilti spicy)
|
||||
prefer_configured_spicy_include_dirs(zeek_objs)
|
||||
endif ()
|
||||
|
||||
if (TARGET zeek_exe)
|
||||
|
|
|
@ -17,6 +17,7 @@ zeek_add_subdir_library(
|
|||
spicy.bif)
|
||||
|
||||
target_link_libraries(zeek_spicy_obj PRIVATE hilti spicy)
|
||||
prefer_configured_spicy_include_dirs(zeek_spicy_obj)
|
||||
|
||||
set(ZEEK_SPICY_MODULE_PATH "${CMAKE_INSTALL_FULL_LIBDIR}/zeek/spicy" CACHE PATH "")
|
||||
install(DIRECTORY DESTINATION "${ZEEK_SPICY_MODULE_PATH}")
|
||||
|
|
|
@ -7,7 +7,10 @@ add_executable(spicyz driver.cc glue-compiler.cc main.cc)
|
|||
target_compile_options(spicyz PRIVATE "-Wall")
|
||||
target_compile_features(spicyz PRIVATE "${ZEEK_CXX_STD}")
|
||||
set_target_properties(spicyz PROPERTIES CXX_EXTENSIONS OFF)
|
||||
|
||||
target_include_directories(spicyz PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
||||
target_link_libraries(spicyz PRIVATE hilti spicy)
|
||||
prefer_configured_spicy_include_dirs(spicyz)
|
||||
|
||||
install(TARGETS spicyz DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue