build: Fix typos in hidapi cmake file

This commit is contained in:
Jakob Bornecrantz 2019-04-30 17:38:54 +01:00
parent fd74f48529
commit 1436dcaea8

View file

@ -219,8 +219,8 @@ if(HIDAPI_libusb_FOUND AND NOT TARGET HIDAPI::hidapi-libusb)
endif()
if(HIDAPI_hidraw_FOUND AND NOT TARGET HIDAPI::hidapi-hidraw)
add_library(HIDAPI::hidapi-hidraw hidraw IMPORTED)
set_target_properties(HIDAPI::hidapi-libusb PROPERTIES
add_library(HIDAPI::hidapi-hidraw UNKNOWN IMPORTED)
set_target_properties(HIDAPI::hidapi-hidraw PROPERTIES
IMPORTED_LINK_INTERFACE_LANGUAGES "C"
IMPORTED_LOCATION ${HIDAPI_HIDRAW_LIBRARY})
set_property(TARGET HIDAPI::hidapi-hidraw PROPERTY