Windows CMake: don't try to link dxguid, it's unavailable when using Visual Studio's XP-compatible toolset.
authorAlex Szpakowski <slime73@gmail.com>
Fri, 18 Mar 2016 22:15:53 -0300
changeset 10121 6b6ded44e6e0
parent 10120 f49e8a97c214
child 10122 f0645cd8fd39
Windows CMake: don't try to link dxguid, it's unavailable when using Visual Studio's XP-compatible toolset.
CMakeLists.txt
--- a/CMakeLists.txt	Wed Mar 16 22:09:39 2016 +0100
+++ b/CMakeLists.txt	Fri Mar 18 22:15:53 2016 -0300
@@ -1138,7 +1138,7 @@
     set(SOURCE_FILES ${SOURCE_FILES} ${JOYSTICK_SOURCES})
     if(HAVE_DINPUT_H)
       set(SDL_JOYSTICK_DINPUT 1)
-      list(APPEND EXTRA_LIBS dinput8 dxguid)
+      list(APPEND EXTRA_LIBS dinput8)
       if(CMAKE_COMPILER_IS_MINGW)
         list(APPEND EXTRA_LIBS dxerr8)
       elseif (NOT USE_WINSDK_DIRECTX)