Skip to content

Commit 7cf43f5

Browse files
author
Adrien Béraud
committed
build/cmake: accept both llhttp and libllhttp
1 parent df189e3 commit 7cf43f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ if (NOT MSVC)
9797

9898
# llhttp
9999
find_path(LLHTTP_INCLUDE_DIR llhttp.h)
100-
find_library(LLHTTP_LIBRARY libllhttp)
100+
find_library(LLHTTP_LIBRARY NAMES llhttp libllhttp)
101101
if (LLHTTP_INCLUDE_DIR AND LLHTTP_LIBRARY)
102102
message(STATUS "Found llhttp ${LLHTTP_INCLUDE_DIR} ${LLHTTP_LIBRARY}")
103103
add_library(llhttp_static STATIC IMPORTED)

0 commit comments

Comments
 (0)