aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/oatpp-mbedtls/find-mbedtls.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/oatpp-mbedtls/find-mbedtls.patch')
-rw-r--r--vcpkg/ports/oatpp-mbedtls/find-mbedtls.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/vcpkg/ports/oatpp-mbedtls/find-mbedtls.patch b/vcpkg/ports/oatpp-mbedtls/find-mbedtls.patch
new file mode 100644
index 0000000..6d673e1
--- /dev/null
+++ b/vcpkg/ports/oatpp-mbedtls/find-mbedtls.patch
@@ -0,0 +1,17 @@
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+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)