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 101216b6ded44e6e0
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
     1.1 --- a/CMakeLists.txt	Wed Mar 16 22:09:39 2016 +0100
     1.2 +++ b/CMakeLists.txt	Fri Mar 18 22:15:53 2016 -0300
     1.3 @@ -1138,7 +1138,7 @@
     1.4      set(SOURCE_FILES ${SOURCE_FILES} ${JOYSTICK_SOURCES})
     1.5      if(HAVE_DINPUT_H)
     1.6        set(SDL_JOYSTICK_DINPUT 1)
     1.7 -      list(APPEND EXTRA_LIBS dinput8 dxguid)
     1.8 +      list(APPEND EXTRA_LIBS dinput8)
     1.9        if(CMAKE_COMPILER_IS_MINGW)
    1.10          list(APPEND EXTRA_LIBS dxerr8)
    1.11        elseif (NOT USE_WINSDK_DIRECTX)