diff --git a/CMakeLists.txt b/CMakeLists.txt index 422e38c3..cf668fd1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -138,9 +138,6 @@ 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() diff --git a/opendht.pc.in b/opendht.pc.in index d310afee..3becd0b1 100644 --- a/opendht.pc.in +++ b/opendht.pc.in @@ -6,7 +6,7 @@ Name: OpenDHT Description: C++17 Distributed Hash Table library Version: @VERSION@ Libs: -L${libdir} -lopendht -lfmt -Libs.private: @http_lib@ @simdutf_libfile@ -pthread +Libs.private: @http_lib@ -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}