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

build/cmake: accept both llhttp and libllhttp

parent df189e3e
No related branches found
No related tags found
No related merge requests found
...@@ -97,7 +97,7 @@ if (NOT MSVC) ...@@ -97,7 +97,7 @@ if (NOT MSVC)
# llhttp # llhttp
find_path(LLHTTP_INCLUDE_DIR llhttp.h) 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) if (LLHTTP_INCLUDE_DIR AND LLHTTP_LIBRARY)
message(STATUS "Found llhttp ${LLHTTP_INCLUDE_DIR} ${LLHTTP_LIBRARY}") message(STATUS "Found llhttp ${LLHTTP_INCLUDE_DIR} ${LLHTTP_LIBRARY}")
add_library(llhttp_static STATIC IMPORTED) 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