mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
Externals: Link against required libraries
* curl requires zlib * hidapi when not using libudev requires libusb
This commit is contained in:
parent
28a666a35f
commit
14c03388b3
2
Externals/curl/lib/CMakeLists.txt
vendored
2
Externals/curl/lib/CMakeLists.txt
vendored
@ -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
Externals/hidapi/CMakeLists.txt
vendored
1
Externals/hidapi/CMakeLists.txt
vendored
@ -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
Block a user