mirror of https://github.com/oxen-io/oxen-core.git
hidapi macos fix
This commit is contained in:
parent
7bc2a0aa7e
commit
5d42ae4c4d
|
@ -558,6 +558,8 @@ else()
|
|||
set(hidapi_links "libusb_vendor;libudev")
|
||||
if(WIN32)
|
||||
list(APPEND hidapi_links setupapi)
|
||||
elseif(APPLE)
|
||||
list(APPEND hidapi_links "-framework AppKit")
|
||||
endif()
|
||||
set_target_properties(hidapi_libusb PROPERTIES
|
||||
INTERFACE_LINK_LIBRARIES "${hidapi_links}"
|
||||
|
|
Loading…
Reference in New Issue