Skip to content

Commit 78d5026

Browse files
committed
Minor fix
1 parent ec07664 commit 78d5026

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

cmake/FindHIDAPI.cmake

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,10 @@ if(HIDAPI_FOUND)
203203
if(NOT TARGET HIDAPI::hidapi)
204204
add_library(HIDAPI::hidapi UNKNOWN IMPORTED)
205205
set_target_properties(
206-
HIDAPI::hidapi PROPERTIES IMPORTED_LINK_INTERFACE_LANGUAGES "C"
207-
IMPORTED_LOCATION ${HIDAPI_LIBRARY})
206+
HIDAPI::hidapi
207+
PROPERTIES
208+
IMPORTED_LINK_INTERFACE_LANGUAGES "C"
209+
IMPORTED_LOCATION ${HIDAPI_LIBRARY})
208210
set_property(
209211
TARGET HIDAPI::hidapi PROPERTY IMPORTED_LINK_INTERFACE_LIBRARIES
210212
Threads::Threads)

0 commit comments

Comments
 (0)