mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
Attempt to fix llhttp for MSYS2 builds on CI
This commit is contained in:
1 parent
0fdb6979dd
commit
bece03eab8
1 file changed
+2
-5
+2
-5
@@ -625,16 +625,13 @@ else()
|
||||
target_link_libraries(opendht PRIVATE argon2 nettle msgpack-cxx PUBLIC ${Win32_STATIC_LIBRARIES} ${Win32_IMPORT_LIBRARIES} jsoncpp fmt::fmt-header-only ${GNUTLS_LIBRARIES} wsock32 ws2_32)
|
||||
endif ()
|
||||
if (OPENDHT_HTTP)
|
||||
find_library(LLHTTP_LIBRARY NAMES llhttp libllhttp REQUIRED)
|
||||
target_link_libraries(opendht PRIVATE ${LLHTTP_LIBRARY})
|
||||
target_link_libraries(opendht
|
||||
PUBLIC restinio::restinio)
|
||||
if (OPENDHT_PROXY_OPENSSL)
|
||||
target_link_libraries(opendht PUBLIC ${OPENSSL_LIBRARIES})
|
||||
endif()
|
||||
if(BUILD_SHARED_LIBS)
|
||||
target_link_libraries(opendht PRIVATE llhttp_shared)
|
||||
else()
|
||||
target_link_libraries(opendht PRIVATE llhttp_static)
|
||||
endif()
|
||||
endif()
|
||||
else ()
|
||||
target_link_libraries(opendht
|
||||
|
||||
Reference in new issue
Block a user