aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libmysql/fix-pdb-install-path.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/libmysql/fix-pdb-install-path.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/libmysql/fix-pdb-install-path.patch')
-rw-r--r--vcpkg/ports/libmysql/fix-pdb-install-path.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/vcpkg/ports/libmysql/fix-pdb-install-path.patch b/vcpkg/ports/libmysql/fix-pdb-install-path.patch
new file mode 100644
index 0000000..b7eaf4c
--- /dev/null
+++ b/vcpkg/ports/libmysql/fix-pdb-install-path.patch
@@ -0,0 +1,22 @@
+diff --git a/cmake/install_macros.cmake b/cmake/install_macros.cmake
+index c45fda7..b862597 100644
+--- a/cmake/install_macros.cmake
++++ b/cmake/install_macros.cmake
+@@ -46,7 +46,7 @@ MACRO(INSTALL_DEBUG_SYMBOLS target)
+ # No .pdb file for static libraries.
+ IF(NOT type MATCHES "STATIC_LIBRARY")
+ INSTALL(FILES $<TARGET_PDB_FILE:${target}>
+- DESTINATION ${INSTALL_LOCATION} COMPONENT ${comp})
++ DESTINATION bin COMPONENT ${comp})
+ ENDIF()
+ ENDIF()
+ ENDMACRO()
+@@ -307,7 +307,7 @@ FUNCTION(INSTALL_DEBUG_TARGET target)
+ ENDIF()
+
+ INSTALL(FILES ${debug_pdb_target_location}
+- DESTINATION ${ARG_DESTINATION}
++ DESTINATION bin
+ ${PDB_RENAME_PARAM}
+ CONFIGURATIONS Release RelWithDebInfo
+ COMPONENT ${ARG_COMPONENT}