Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/topic/neverlord/gh-76'
Browse files Browse the repository at this point in the history
* origin/topic/neverlord/gh-76:
  Remove overly cautious caching
  • Loading branch information
timwoj committed Oct 24, 2023
2 parents f7b4fbe + 5ef1743 commit 98799bb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ZeekPlugin.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function (zeek_plugin_bootstrapping)
# Plugins that build against the source tree set ZEEK_DIST. Here, we have our
# package file plus ZeekPluginConfig.cmake to help out.
if (ZEEK_DIST)
message("USING ZEEK_DIST: ${ZEEK_DIST}")
message("-- Using ZEEK_DIST: ${ZEEK_DIST}")
find_package(Zeek REQUIRED CONFIG NO_DEFAULT_PATH PATHS "${ZEEK_DIST}/build")
return()
endif ()
Expand Down Expand Up @@ -64,10 +64,8 @@ function (zeek_plugin_bootstrapping)
endfunction ()

# Make sure BifCl and BinPAC are available.
if (NOT ZEEK_PLUGIN_INTERNAL_BUILD AND NOT ZEEK_PLUGIN_HAD_BOOTSTRAPPING)
if (NOT ZEEK_PLUGIN_INTERNAL_BUILD)
zeek_plugin_bootstrapping()
# Remember that we have called the function to not call it again.
set(ZEEK_PLUGIN_HAD_BOOTSTRAPPING ON CACHE BOOL "Plugin bootstrapping has completed." FORCE)
endif ()

include(BifCl)
Expand Down

0 comments on commit 98799bb

Please sign in to comment.