diff --git a/Externals/curl/lib/CMakeLists.txt b/Externals/curl/lib/CMakeLists.txt index d1f6d10345..a4be4013ef 100644 --- a/Externals/curl/lib/CMakeLists.txt +++ b/Externals/curl/lib/CMakeLists.txt @@ -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) diff --git a/Externals/hidapi/CMakeLists.txt b/Externals/hidapi/CMakeLists.txt index 4b33a46fd5..1fca3d8334 100644 --- a/Externals/hidapi/CMakeLists.txt +++ b/Externals/hidapi/CMakeLists.txt @@ -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()