vcpkg/ports/oatpp-mbedtls/find-mbedtls.patch

18 lines
519 B
Diff
Raw Normal View History

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
2024-09-09 03:04:08 +08:00
index 7e81ed9..39b95a9 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -31,9 +31,9 @@ target_include_directories(${OATPP_THIS_MODULE_NAME}
)
target_link_libraries(${OATPP_THIS_MODULE_NAME}
- PRIVATE mbedtls::TLS
- PRIVATE mbedtls::X509
- PRIVATE mbedtls::Crypto
+ PRIVATE ${MBEDTLS_TLS_LIBRARY}
+ PRIVATE ${MBEDTLS_X509_LIBRARY}
+ PRIVATE ${MBEDTLS_CRYPTO_LIBRARY}
)
if(${OATPP_MBEDTLS_DEBUG} GREATER 0)