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