Skip to content
Snippets Groups Projects
Commit 469b61ed authored by Fujimoto Seiji's avatar Fujimoto Seiji Committed by Eduardo Silva
Browse files

build: turn off FLB_RECORD_ACCESSOR if bison/flex unavailable


Without this, cmake emits an error while initialization, due to
bison/flex required by record-accessor but not available.

> This is a build time dependency, you can either install the dependencies or
> disable the feature setting the CMake option -DFLB_RECORD_ACCESSOR=Off .

Signed-off-by: default avatarFujimoto Seiji <fujimoto@clear-code.com>
parent a105e104
No related branches found
No related tags found
No related merge requests found
......@@ -86,5 +86,6 @@ if(CMAKE_SYSTEM_NAME MATCHES "Windows")
if (NOT (${FLEX_FOUND} AND ${BISON_FOUND}))
message(STATUS "flex and bison not found. Disable stream_processor building.")
set(FLB_STREAM_PROCESSOR No)
set(FLB_RECORD_ACCESSOR No)
endif()
endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment