aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alex@karatarakis.com>2016-11-14 12:45:33 -0800
committerGitHub <noreply@github.com>2016-11-14 12:45:33 -0800
commit54abb9f5193e15e932a1b24a5b8dadd46f482426 (patch)
treed912224def7bb02b8090cc230dbfa1c98e3aab4e
parent64808e17fe6e02e9a86412491c72a9619dccba8a (diff)
parentdaa83822085ee79eec3f68d5111f11457972267e (diff)
downloadvcpkg-54abb9f5193e15e932a1b24a5b8dadd46f482426.tar.gz
vcpkg-54abb9f5193e15e932a1b24a5b8dadd46f482426.zip
Merge pull request #267 from sdcb/qt5-fix
[qt5] Fix the wrong gamepads directory issue.
-rw-r--r--ports/qt5/portfile.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/ports/qt5/portfile.cmake b/ports/qt5/portfile.cmake
index 6b11a8abe..85ebb107b 100644
--- a/ports/qt5/portfile.cmake
+++ b/ports/qt5/portfile.cmake
@@ -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")