build: clean up folly config

This commit is contained in:
Marcus Holland-Moritz 2024-08-06 10:52:42 +02:00
parent f191c973ad
commit bae568d29f

View File

@ -200,9 +200,6 @@ if(STATIC_BUILD_DO_NOT_USE)
set(GFLAGS_SHARED set(GFLAGS_SHARED
OFF OFF
CACHE BOOL "static") CACHE BOOL "static")
set(FOLLY_NO_EXCEPTION_TRACER
ON
CACHE BOOL "disable exception tracer")
endif() endif()
if(WITH_MAN_PAGES) if(WITH_MAN_PAGES)
@ -375,9 +372,8 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
set(MSVC_USE_STATIC_RUNTIME ON CACHE BOOL "static build") set(MSVC_USE_STATIC_RUNTIME ON CACHE BOOL "static build")
endif() endif()
set(ZSTD_INCLUDE_DIR set(ZSTD_INCLUDE_DIR "" CACHE PATH "don't build folly with zstd" FORCE)
"" set(FOLLY_NO_EXCEPTION_TRACER ON CACHE BOOL "disable exception tracer")
CACHE PATH "don't build folly with zstd" FORCE)
# TODO: this is due to a bug in folly's Portability.h # TODO: this is due to a bug in folly's Portability.h
add_compile_definitions(FOLLY_CFG_NO_COROUTINES) add_compile_definitions(FOLLY_CFG_NO_COROUTINES)