Skip to content

Commit 85acfec

Browse files
committed
cmake: Add setupapi library to Windows build dependencies (hidapi needs it).
Fixes Bugzilla #4719.
1 parent 1ceddc5 commit 85acfec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1335,7 +1335,7 @@ elseif(WINDOWS)
13351335
endif()
13361336

13371337
# Libraries for Win32 native and MinGW
1338-
list(APPEND EXTRA_LIBS user32 gdi32 winmm imm32 ole32 oleaut32 version uuid advapi32 shell32)
1338+
list(APPEND EXTRA_LIBS user32 gdi32 winmm imm32 ole32 oleaut32 version uuid advapi32 setupapi shell32)
13391339

13401340
# TODO: in configure.ac the check for timers is set on
13411341
# cygwin | mingw32* - does this include mingw32CE?

0 commit comments

Comments
 (0)