cmake: Add setupapi library to Windows build dependencies (hidapi needs it).
authorRyan C. Gordon <icculus@icculus.org>
Fri, 12 Jul 2019 13:40:58 -0400
changeset 12938165d577cdc63
parent 12937 41528cbd80ab
child 12939 68977584a5d9
cmake: Add setupapi library to Windows build dependencies (hidapi needs it).

Fixes Bugzilla #4719.
CMakeLists.txt
     1.1 --- a/CMakeLists.txt	Thu Jul 11 01:07:14 2019 -0400
     1.2 +++ b/CMakeLists.txt	Fri Jul 12 13:40:58 2019 -0400
     1.3 @@ -1335,7 +1335,7 @@
     1.4    endif()
     1.5  
     1.6    # Libraries for Win32 native and MinGW
     1.7 -  list(APPEND EXTRA_LIBS user32 gdi32 winmm imm32 ole32 oleaut32 version uuid advapi32 shell32)
     1.8 +  list(APPEND EXTRA_LIBS user32 gdi32 winmm imm32 ole32 oleaut32 version uuid advapi32 setupapi shell32)
     1.9  
    1.10    # TODO: in configure.ac the check for timers is set on
    1.11    # cygwin | mingw32* - does this include mingw32CE?