windows-winusb: fix cmake build

This commit is contained in:
Matthias Ringwald 2022-06-13 18:22:00 +02:00
parent b260a82e89
commit e111ffb107

View File

@ -103,5 +103,5 @@ foreach(EXAMPLE ${EXAMPLES})
message("example ${EXAMPLE}")
endif()
add_executable(${EXAMPLE} ${SOURCES_EXAMPLE})
target_link_libraries(${EXAMPLE} btstack)
target_link_libraries(${EXAMPLE} btstack setupapi winusb)
endforeach(EXAMPLE)