From 8e4ed61b6fc82fa91ca32c7b752e8c0d8a5c8ad6 Mon Sep 17 00:00:00 2001 From: Zxilly Date: Thu, 19 Dec 2024 01:43:14 +0800 Subject: [PATCH] build: ensure llhttp build --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d61e81c5..f8221053 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -127,9 +127,9 @@ else () message(STATUS "Cache is auto.") endif () -add_subdirectory(src/third/llhttp-release-v9.2.1) set(BUILD_SHARED_LIBS OFF CACHE INTERNAL "") set(BUILD_STATIC_LIBS ON CACHE INTERNAL "") +add_subdirectory(src/third/llhttp-release-v9.2.1) target_link_libraries(ua2f mnl netfilter_queue pthread nfnetlink llhttp_static)