1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-17 04:22:32 +03:00

cmake: style tidy-up (more)

Follow-up to 3fa5282d62 #1166
Closes #1365
This commit is contained in:
Viktor Szakats
2024-04-13 19:45:05 +00:00
parent 0af3389ee5
commit 8788bb90a8
3 changed files with 9 additions and 9 deletions

View File

@@ -10,8 +10,8 @@
# MBEDTLS_FOUND - system has mbedTLS
# MBEDTLS_LIBRARIES - link these to use mbedTLS
find_path(MBEDTLS_INCLUDE_DIR NAMES mbedtls/version.h)
find_library(MBEDCRYPTO_LIBRARY NAMES mbedcrypto libmbedcrypto)
find_path(MBEDTLS_INCLUDE_DIR NAMES "mbedtls/version.h")
find_library(MBEDCRYPTO_LIBRARY NAMES "mbedcrypto" "libmbedcrypto")
if(MBEDTLS_INCLUDE_DIR)
file(READ "${MBEDTLS_INCLUDE_DIR}/mbedtls/build_info.h" _mbedtls_header_1)