Selaa lähdekoodia

cmake: Add setupapi library to Windows build dependencies (hidapi needs it).

Fixes Bugzilla #4719.
Ryan C. Gordon 6 vuotta sitten
vanhempi
commit
70f0b093ff
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -1335,7 +1335,7 @@ elseif(WINDOWS)
   endif()
   endif()
 
 
   # Libraries for Win32 native and MinGW
   # 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
   # TODO: in configure.ac the check for timers is set on
   # cygwin | mingw32* - does this include mingw32CE?
   # cygwin | mingw32* - does this include mingw32CE?