diff --git a/plugins/processor_sql/parser/CMakeLists.txt b/plugins/processor_sql/parser/CMakeLists.txt index 0c62e9c9b6a..7e5feca944e 100644 --- a/plugins/processor_sql/parser/CMakeLists.txt +++ b/plugins/processor_sql/parser/CMakeLists.txt @@ -25,3 +25,8 @@ add_library(processor-sql-parser STATIC ) add_flex_bison_dependency(lexer parser) + +if (FLB_JEMALLOC) + add_dependencies(processor-sql-parser libjemalloc) + include_directories("${CMAKE_BINARY_DIR}/include/") +endif () \ No newline at end of file