Link in xinput on windows builds.

This commit is contained in:
hiker 2017-08-07 23:50:09 +10:00
parent 4c55ca4da9
commit 620d1f34c1

View File

@ -473,7 +473,7 @@ if(USE_WIIUSE)
endif()
if(MSVC OR MINGW)
target_link_libraries(supertuxkart iphlpapi.lib)
target_link_libraries(supertuxkart iphlpapi.lib xinput)
add_custom_command(TARGET supertuxkart POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_directory
"${PROJECT_SOURCE_DIR}/dependencies/dll"