From 01f601a1509bf9c67819fbf521df39644bab52d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Fri, 30 Nov 2018 21:57:42 +0100 Subject: [PATCH] Add missing libraries to cmake target --- windows/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/windows/CMakeLists.txt b/windows/CMakeLists.txt index 387ac02..873216a 100644 --- a/windows/CMakeLists.txt +++ b/windows/CMakeLists.txt @@ -1 +1,2 @@ -add_library(hidapi-hid hid.c) \ No newline at end of file +add_library(hidapi-hid hid.c) +target_link_libraries(hidapi-hid setupapi)