aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/qt5/portfile.cmake8
1 files changed, 6 insertions, 2 deletions
diff --git a/ports/qt5/portfile.cmake b/ports/qt5/portfile.cmake
index f2e19d4c6..84d640a86 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/xinputgamepadd.dll
+ ${CURRENT_PACKAGES_DIR}/plugins/gamepads/xinputgamepad.dll)
+file(RENAME
+ ${CURRENT_PACKAGES_DIR}/debug/plugins/gamepads/xinputgamepadd.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")
@@ -144,6 +150,4 @@ vcpkg_execute_required_process(
file(INSTALL ${SOURCE_PATH}/LICENSE.LGPLv3 DESTINATION ${CURRENT_PACKAGES_DIR}/share/qt5 RENAME copyright)
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/plugins/gamepads)
-
vcpkg_copy_pdbs()