Add llhttp dependency
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user