Skip to content
Permalink
Browse files

Windows CMake: don't try to link dxguid, it's unavailable when using …

…Visual Studio's XP-compatible toolset.
  • Loading branch information
slime73 committed Mar 19, 2016
1 parent 35da130 commit 2c3bf6658a19e19ccd62409627532633414ddbe8
Showing with 1 addition and 1 deletion.
  1. +1 −1 CMakeLists.txt
@@ -1138,7 +1138,7 @@ elseif(WINDOWS)
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)

0 comments on commit 2c3bf66

Please sign in to comment.