mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
Windows CMake: don't try to link dxguid, it's unavailable when using Visual Studio's XP-compatible toolset.
This commit is contained in:
parent
35da130828
commit
2c3bf6658a
@ -1138,7 +1138,7 @@ elseif(WINDOWS)
|
|||||||
set(SOURCE_FILES ${SOURCE_FILES} ${JOYSTICK_SOURCES})
|
set(SOURCE_FILES ${SOURCE_FILES} ${JOYSTICK_SOURCES})
|
||||||
if(HAVE_DINPUT_H)
|
if(HAVE_DINPUT_H)
|
||||||
set(SDL_JOYSTICK_DINPUT 1)
|
set(SDL_JOYSTICK_DINPUT 1)
|
||||||
list(APPEND EXTRA_LIBS dinput8 dxguid)
|
list(APPEND EXTRA_LIBS dinput8)
|
||||||
if(CMAKE_COMPILER_IS_MINGW)
|
if(CMAKE_COMPILER_IS_MINGW)
|
||||||
list(APPEND EXTRA_LIBS dxerr8)
|
list(APPEND EXTRA_LIBS dxerr8)
|
||||||
elseif (NOT USE_WINSDK_DIRECTX)
|
elseif (NOT USE_WINSDK_DIRECTX)
|
||||||
|
Loading…
Reference in New Issue
Block a user