From 70f0b093ff8f3621dfb0267c24811cb5121b33e2 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 12 Jul 2019 13:40:58 -0400 Subject: [PATCH] cmake: Add setupapi library to Windows build dependencies (hidapi needs it). Fixes Bugzilla #4719. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a14eb7a74..bd59d89b2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1335,7 +1335,7 @@ elseif(WINDOWS) endif() # Libraries for Win32 native and MinGW - list(APPEND EXTRA_LIBS user32 gdi32 winmm imm32 ole32 oleaut32 version uuid advapi32 shell32) + list(APPEND EXTRA_LIBS user32 gdi32 winmm imm32 ole32 oleaut32 version uuid advapi32 setupapi shell32) # TODO: in configure.ac the check for timers is set on # cygwin | mingw32* - does this include mingw32CE?