Fix install directory for plugins

This commit is contained in:
Dominik Charousset 2023-04-22 11:22:06 +02:00
parent 3f0eee5d9d
commit 19cbb328a9
4 changed files with 14 additions and 9 deletions

View file

@ -11,6 +11,12 @@ if ( NOT ZEEK_PLUGIN_SCRIPTS_PATH )
CACHE PATH "Path to utility shell scripts." FORCE)
endif ()
# Path for installing plugins.
if ( NOT ZEEK_PLUGIN_DIR )
set(ZEEK_PLUGIN_DIR "@ZEEK_PLUGIN_DIR@"
CACHE STRING "Installation path for plugins" FORCE)
endif ()
# For finding Zeek sources.
if ( NOT ZEEK_SOURCE_DIR )
set(ZEEK_SOURCE_DIR "@ZEEK_SOURCE_DIR@"