mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 00:05:40 +00:00
Merge pull request #2165 from chaigler/SDL2_cmake_fix
Remove dxerr.lib dependency
This commit is contained in:
commit
ee69e7d1bb
2 changed files with 1 additions and 6 deletions
|
|
@ -1166,11 +1166,6 @@ elseif(WINDOWS)
|
||||||
if(HAVE_DINPUT_H)
|
if(HAVE_DINPUT_H)
|
||||||
set(SDL_JOYSTICK_DINPUT 1)
|
set(SDL_JOYSTICK_DINPUT 1)
|
||||||
list(APPEND EXTRA_LIBS dinput8)
|
list(APPEND EXTRA_LIBS dinput8)
|
||||||
if(CMAKE_COMPILER_IS_MINGW)
|
|
||||||
list(APPEND EXTRA_LIBS dxerr8)
|
|
||||||
elseif (NOT USE_WINSDK_DIRECTX)
|
|
||||||
list(APPEND EXTRA_LIBS dxerr)
|
|
||||||
endif()
|
|
||||||
endif()
|
endif()
|
||||||
if(HAVE_XINPUT_H)
|
if(HAVE_XINPUT_H)
|
||||||
set(SDL_JOYSTICK_XINPUT 1)
|
set(SDL_JOYSTICK_XINPUT 1)
|
||||||
|
|
|
||||||
|
|
@ -3144,7 +3144,7 @@ AC_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [[defau
|
||||||
fi
|
fi
|
||||||
if test x$have_dinput = xyes; then
|
if test x$have_dinput = xyes; then
|
||||||
AC_DEFINE(SDL_JOYSTICK_DINPUT, 1, [ ])
|
AC_DEFINE(SDL_JOYSTICK_DINPUT, 1, [ ])
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ldinput8 -ldxguid -ldxerr8"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ldinput8 -ldxguid"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
AC_DEFINE(SDL_JOYSTICK_WINMM, 1, [ ])
|
AC_DEFINE(SDL_JOYSTICK_WINMM, 1, [ ])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue