find step 5 iface 2

This commit is contained in:
Viktor Szakats 2025-04-05 03:23:53 +02:00
parent 5ed54728d3
commit 263c0792bc
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
18 changed files with 32 additions and 32 deletions

View file

@ -79,7 +79,7 @@ else()
mark_as_advanced(LIBSSH2_INCLUDE_DIR LIBSSH2_LIBRARY)
endif()
if(BEARSSL_FOUND)
if(LIBSSH2_FOUND)
if(CMAKE_VERSION VERSION_LESS 3.13)
link_directories(${_bearssl_LIBRARY_DIRS})
endif()
@ -87,7 +87,7 @@ if(BEARSSL_FOUND)
if(NOT TARGET CURL::bearssl)
add_library(CURL::bearssl INTERFACE IMPORTED)
set_target_properties(CURL::bearssl PROPERTIES
VERSION "${BEARSSL_VERSION}"
VERSION "${LIBSSH2_VERSION}"
CURL_PC_MODULES "${_bearssl_pc_requires}"
INTERFACE_COMPILE_OPTIONS "${_bearssl_CFLAGS}"
INTERFACE_INCLUDE_DIRECTORIES "${_bearssl_INCLUDE_DIRS}"