mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 20:48:21 +00:00
Merge remote-tracking branch 'origin/topic/jsiwek/gh-831-binary-pkg-bro-symlink'
* origin/topic/jsiwek/gh-831-binary-pkg-bro-symlink: GH-831: Fix the "bro" symlink for binary packaging mode
This commit is contained in:
commit
ca6e6b2b75
1 changed files with 6 additions and 4 deletions
|
@ -357,10 +357,12 @@ set(BRO_EXE zeek
|
||||||
set(BRO_EXE_PATH ${CMAKE_CURRENT_BINARY_DIR}/zeek
|
set(BRO_EXE_PATH ${CMAKE_CURRENT_BINARY_DIR}/zeek
|
||||||
CACHE STRING "Path to Zeek executable binary" FORCE)
|
CACHE STRING "Path to Zeek executable binary" FORCE)
|
||||||
|
|
||||||
# Older plugins may still use `bro` in unit tests.
|
if ( NOT BINARY_PACKAGING_MODE )
|
||||||
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink
|
# Older plugins may still use `bro` in unit tests.
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/../zeek-wrapper.in"
|
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/bro")
|
"${CMAKE_CURRENT_BINARY_DIR}/../zeek-wrapper.in"
|
||||||
|
"${CMAKE_CURRENT_BINARY_DIR}/bro")
|
||||||
|
endif ()
|
||||||
|
|
||||||
# Target to create all the autogenerated files.
|
# Target to create all the autogenerated files.
|
||||||
add_custom_target(generate_outputs_stage1)
|
add_custom_target(generate_outputs_stage1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue