mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
build: add private link to simdutf static to pkgconfig
This commit is contained in:
1 parent
1105a68f93
commit
ea6ca025fc
2 files changed
+4
-1
No files matched your search
@@ -138,6 +138,9 @@ if (NOT MSVC)
|
||||
)
|
||||
FetchContent_MakeAvailable(simdutf)
|
||||
set(SIMDUTF_LIBRARIES simdutf::simdutf)
|
||||
if (NOT BUILD_SHARED_LIBS)
|
||||
set(simdutf_libfile " ${simdutf_BINARY_DIR}/build/libsimdutf.a")
|
||||
endif()
|
||||
else()
|
||||
message(SEND_ERROR "simdutf not found and the fallback downloader is not set! Install simdutf or use OPENDHT_DOWNLOAD_DEPS option")
|
||||
endif()
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ Name: OpenDHT
|
||||
Description: C++17 Distributed Hash Table library
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lopendht -lfmt
|
||||
Libs.private: @http_lib@ -pthread
|
||||
Libs.private: @http_lib@ @simdutf_libfile@ -pthread
|
||||
Requires: gnutls >= 3.3@jsoncpp_lib@@openssl_lib@
|
||||
Requires.private: nettle >= 2.4@argon2_lib@@llhttp_lib@@iouring_lib@@simdutf_lib@
|
||||
Cflags: -I${includedir}
|
||||
Reference in new issue
Block a user