Externals: Link against required libraries

* curl requires zlib
* hidapi when not using libudev requires libusb
This commit is contained in:
MerryMage committed 2021-01-03 14:26:38 +00:00
1 parent 28a666a35f
commit 14c03388b3
2 files changed
+2 -1

No files matched your search

+1 -1
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)
+1
View File
@@ -14,6 +14,7 @@ else()
target_link_libraries(hidapi PRIVATE udev)
else()
target_sources(hidapi PRIVATE libusb/hid.c)
target_link_libraries(hidapi PRIVATE usb)
endif()
endif()