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

@ -105,7 +105,7 @@ if(RUSTLS_FOUND)
endif()
endif()
if(BEARSSL_FOUND)
if(RUSTLS_FOUND)
if(CMAKE_VERSION VERSION_LESS 3.13)
link_directories(${_bearssl_LIBRARY_DIRS})
endif()
@ -113,7 +113,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 "${RUSTLS_VERSION}"
CURL_PC_MODULES "${_bearssl_pc_requires}"
INTERFACE_COMPILE_OPTIONS "${_bearssl_CFLAGS}"
INTERFACE_INCLUDE_DIRECTORIES "${_bearssl_INCLUDE_DIRS}"