Fix compile without DIRECTX

This commit is contained in:
stfx committed 2020-06-15 10:31:16 +02:00
1 parent 9db16a6557
commit efe0935904
3 files changed
-13

No files matched your search

-5
View File
@@ -1523,11 +1523,6 @@ elseif(WINDOWS)
if(HAVE_DINPUT_H)
set(SDL_JOYSTICK_DINPUT 1)
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()
if(HAVE_XINPUT_H)
set(SDL_JOYSTICK_XINPUT 1)