[Commits] SDL: Windows CMake: don't try to link dxguid, it's unavailable w...

libsdl.org revision control commits-owner at libsdl.org
Fri Mar 18 18:16:29 PDT 2016


details:   https://hg.libsdl.org/SDL/rev/6b6ded44e6e0
changeset: 10121:6b6ded44e6e0
user:      Alex Szpakowski <slime73 at gmail.com>
date:      Fri Mar 18 22:15:53 2016 -0300
description:
Windows CMake: don't try to link dxguid, it's unavailable when using Visual Studio's XP-compatible toolset.

diffstat:

 CMakeLists.txt |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r f49e8a97c214 -r 6b6ded44e6e0 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)


More information about the commits mailing list