ZeekPluginBootstrap: Encode Zeek's CMAKE_BUILD_TYPE

...and bump cmake to have plugin's make use of it.

Relates to #3090.
This commit is contained in:
Arne Welzel 2023-06-15 10:46:06 +02:00
parent f64304067b
commit 49799b8beb
2 changed files with 5 additions and 1 deletions

2
cmake

@ -1 +1 @@
Subproject commit 07473b7253f32025c79471bcf13e69d7e74499e4
Subproject commit d16c1dc078929a1fa6a57d23b6943928f0910f7d

View file

@ -17,3 +17,7 @@ set(ZEEK_CMAKE_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@"
# the package directory.
set(ZEEK_PLUGIN_SCRIPTS_PATH "${ZEEK_CMAKE_CONFIG_DIR}"
CACHE PATH "Path to utility scripts for building Zeek plugins." FORCE)
# The CMAKE_BUILD_TYPE type to use for external plugins if not overridden.
set(ZEEK_CMAKE_BUILD_TYPE "@CMAKE_BUILD_TYPE@"
CACHE PATH "Internal Zeek variable: CMAKE_BUILD_TYPE of Zeek." FORCE)