Add llhttp dependency

This commit is contained in:
2025-08-18 16:46:06 -04:00
parent e704c261cb
commit 3a874b0acf

View File

@@ -70,6 +70,20 @@ FetchContent_Declare(
) )
FetchContent_MakeAvailable(simdutf) FetchContent_MakeAvailable(simdutf)
FetchContent_Declare(
llhttp
URL "https://github.com/nodejs/llhttp/archive/refs/tags/release/v9.2.1.tar.gz"
URL_HASH
SHA256=3c163891446e529604b590f9ad097b2e98b5ef7e4d3ddcf1cf98b62ca668f23e
DOWNLOAD_EXTRACT_TIMESTAMP ON)
set(BUILD_SHARED_LIBS
OFF
CACHE INTERNAL "")
set(BUILD_STATIC_LIBS
ON
CACHE INTERNAL "")
FetchContent_MakeAvailable(llhttp)
include_directories(src) include_directories(src)
find_package(weaseljson REQUIRED) find_package(weaseljson REQUIRED)