Externals: Link against required libraries

* curl requires zlib
* hidapi when not using libudev requires libusb
This commit is contained in:
MerryMage
2021-01-03 14:25:23 +00:00
parent 28a666a35f
commit 14c03388b3
2 changed files with 2 additions and 1 deletions

View File

@ -13,5 +13,5 @@ add_library(
${SRCS}
)
target_link_libraries(curl ${MBEDTLS_LIBRARIES})
target_link_libraries(curl ${MBEDTLS_LIBRARIES} z)
target_compile_definitions(curl PUBLIC CURL_STATICLIB PRIVATE CURL_DISABLE_LDAP)