Skip to content

Commit 6ef7502

Browse files
committed
cmake: msgpack: increase stack size to 64 elements
Signed-off-by: Eduardo Silva <[email protected]>
1 parent 4f0ca7b commit 6ef7502

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmake/msgpack.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,9 @@ option(MSGPACK_BUILD_EXAMPLES OFF)
66
include_directories(
77
${FLB_PATH_ROOT_SOURCE}/${FLB_PATH_LIB_MSGPACK}/include
88
)
9+
10+
# define preprocessor MSGPACK_EMBED_STACK_SIZE to 1024
11+
add_compile_definitions(MSGPACK_EMBED_STACK_SIZE=64)
12+
913
add_subdirectory(${FLB_PATH_LIB_MSGPACK} EXCLUDE_FROM_ALL)
1014
set(MSGPACK_LIBRARIES "msgpack-c-static")

0 commit comments

Comments
 (0)