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}