CMakeLists.txt
changeset 10121 6b6ded44e6e0
parent 10047 281d1bfdacb1
child 10310 ac1c949c14b4
equal deleted inserted replaced
10120:f49e8a97c214 10121:6b6ded44e6e0
  1136   if(SDL_JOYSTICK)
  1136   if(SDL_JOYSTICK)
  1137     file(GLOB JOYSTICK_SOURCES ${SDL2_SOURCE_DIR}/src/joystick/windows/*.c)
  1137     file(GLOB JOYSTICK_SOURCES ${SDL2_SOURCE_DIR}/src/joystick/windows/*.c)
  1138     set(SOURCE_FILES ${SOURCE_FILES} ${JOYSTICK_SOURCES})
  1138     set(SOURCE_FILES ${SOURCE_FILES} ${JOYSTICK_SOURCES})
  1139     if(HAVE_DINPUT_H)
  1139     if(HAVE_DINPUT_H)
  1140       set(SDL_JOYSTICK_DINPUT 1)
  1140       set(SDL_JOYSTICK_DINPUT 1)
  1141       list(APPEND EXTRA_LIBS dinput8 dxguid)
  1141       list(APPEND EXTRA_LIBS dinput8)
  1142       if(CMAKE_COMPILER_IS_MINGW)
  1142       if(CMAKE_COMPILER_IS_MINGW)
  1143         list(APPEND EXTRA_LIBS dxerr8)
  1143         list(APPEND EXTRA_LIBS dxerr8)
  1144       elseif (NOT USE_WINSDK_DIRECTX)
  1144       elseif (NOT USE_WINSDK_DIRECTX)
  1145         list(APPEND EXTRA_LIBS dxerr)
  1145         list(APPEND EXTRA_LIBS dxerr)
  1146       endif()
  1146       endif()