Merge pull request #267 from sdcb/qt5-fix

[qt5] Fix the wrong gamepads directory issue.
This commit is contained in:
Alexander Karatarakis 2016-11-14 12:45:33 -08:00 committed by GitHub
commit 54abb9f519

View File

@ -130,6 +130,12 @@ foreach(file ${DEBUG_PLUGINS})
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/debug/plugins/${rel_dir}")
file(RENAME ${file} "${CURRENT_PACKAGES_DIR}/debug/plugins/${rel_dir}/${file_n}")
endforeach()
file(RENAME
${CURRENT_PACKAGES_DIR}/debug/plugins/gamepads/xinputgamepad.dll
${CURRENT_PACKAGES_DIR}/plugins/gamepads/xinputgamepad.dll)
file(RENAME
${CURRENT_PACKAGES_DIR}/debug/plugins/gamepads/xinputgamepad.pdb
${CURRENT_PACKAGES_DIR}/plugins/gamepads/xinputgamepad.pdb)
if(DEFINED VCPKG_CRT_LINKAGE AND VCPKG_CRT_LINKAGE STREQUAL dynamic)
file(GLOB RELEASE_DLLS "${CURRENT_PACKAGES_DIR}/bin/*.dll")