From: Viktor Szakats Date: Thu, 18 Dec 2025 13:31:05 +0000 (+0100) Subject: cmake/FindRustls: merge two `if`s X-Git-Tag: rc-8_18_0-3~76 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=673e02a616f42e9b288cf1e38bcb78046e7c5255;p=thirdparty%2Fcurl.git cmake/FindRustls: merge two `if`s Closes #20017 --- diff --git a/CMake/FindRustls.cmake b/CMake/FindRustls.cmake index 37b99be73e..270e99c6d5 100644 --- a/CMake/FindRustls.cmake +++ b/CMake/FindRustls.cmake @@ -103,9 +103,7 @@ if(RUSTLS_FOUND) endif() mark_as_advanced(MATH_LIBRARY) endif() -endif() -if(RUSTLS_FOUND) if(CMAKE_VERSION VERSION_LESS 3.13) link_directories(${_rustls_LIBRARY_DIRS}) endif()