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
|
||||
CACHE STRING "Path to Zeek executable binary" FORCE)
|
||||
|
||||
# Older plugins may still use `bro` in unit tests.
|
||||
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/../zeek-wrapper.in"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/bro")
|
||||
if ( NOT BINARY_PACKAGING_MODE )
|
||||
# Older plugins may still use `bro` in unit tests.
|
||||
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/../zeek-wrapper.in"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/bro")
|
||||
endif ()
|
||||
|
||||
# Target to create all the autogenerated files.
|
||||
add_custom_target(generate_outputs_stage1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue