Skip to content
Snippets Groups Projects
Commit 2c260301 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

build/cmake: accept both llhttp and libllhttp

parent efc26245
Branches
Tags
No related merge requests found
......@@ -98,7 +98,7 @@ if (NOT MSVC)
# llhttp
find_path(LLHTTP_INCLUDE_DIR llhttp.h)
find_library(LLHTTP_LIBRARY libllhttp)
find_library(LLHTTP_LIBRARY NAMES llhttp libllhttp)
if (LLHTTP_INCLUDE_DIR AND LLHTTP_LIBRARY)
message(STATUS "Found llhttp ${LLHTTP_INCLUDE_DIR} ${LLHTTP_LIBRARY}")
add_library(llhttp_static STATIC IMPORTED)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment