Skip to content

Commit

Permalink
Windows CMake: don't try to link dxguid, it's unavailable when using …
Browse files Browse the repository at this point in the history
…Visual Studio's XP-compatible toolset.
  • Loading branch information
slime73 committed Mar 19, 2016
1 parent 35da130 commit 2c3bf66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -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)
Expand Down

0 comments on commit 2c3bf66

Please sign in to comment.