diff --git a/cmake/folly.cmake b/cmake/folly.cmake index 93048086b..dd346a9a0 100644 --- a/cmake/folly.cmake +++ b/cmake/folly.cmake @@ -26,6 +26,7 @@ set(ZSTD_LIBRARY_RELEASE set(ZSTD_LIBRARY_DEBUG "ZSTD_LIBRARY_DEBUG-NOTFOUND" CACHE FILEPATH "don't build folly with zstd" FORCE) +set(FOLLY_USE_JEMALLOC ${USE_JEMALLOC}) # TODO: this is due to a bug in folly's Portability.h add_compile_definitions(FOLLY_CFG_NO_COROUTINES)