From: Jan Venekamp <1422460+jan2000@users.noreply.github.com> Date: Thu, 15 Aug 2024 18:43:33 +0000 (+0200) Subject: cmake: fix find rustls X-Git-Tag: curl-8_10_0~244 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=178e8ba2d1bed80240d4714bd7850e4258ea4f68;p=thirdparty%2Fcurl.git cmake: fix find rustls Follow-up to 2784801977e81f68c6f87f9509e64f332d74acab #14545 Closes #14567 --- diff --git a/CMake/Findrustls.cmake b/CMake/Findrustls.cmake index f1358fc156..370d511b4a 100644 --- a/CMake/Findrustls.cmake +++ b/CMake/Findrustls.cmake @@ -41,7 +41,7 @@ find_path(RUSTLS_INCLUDE_DIR "rustls.h" ${PC_RUSTLS_INCLUDE_DIRS} ) -find_library(RUSTLS_LIBRARY "rustls") +find_library(RUSTLS_LIBRARY "rustls" HINTS ${PC_RUSTLS_LIBDIR} ${PC_RUSTLS_LIBRARY_DIRS}