Merge pull request #9420 from MerryMage/ext
Externals: Link against required libraries
This commit is contained in:
commit
9069ad6cce
|
@ -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)
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue