aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/allegro5/do-not-copy-pdbs-to-lib.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/allegro5/do-not-copy-pdbs-to-lib.patch')
-rw-r--r--vcpkg/ports/allegro5/do-not-copy-pdbs-to-lib.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/allegro5/do-not-copy-pdbs-to-lib.patch b/vcpkg/ports/allegro5/do-not-copy-pdbs-to-lib.patch
new file mode 100644
index 0000000..eabc5eb
--- /dev/null
+++ b/vcpkg/ports/allegro5/do-not-copy-pdbs-to-lib.patch
@@ -0,0 +1,13 @@
+diff --git a/cmake/Common.cmake b/cmake/Common.cmake
+index 86c194f..74edef8 100644
+--- a/cmake/Common.cmake
++++ b/cmake/Common.cmake
+@@ -227,7 +227,7 @@ function(install_our_library target filename)
+ # Doesn't work, see below.
+ # PUBLIC_HEADER DESTINATION "include"
+ )
+- if(MSVC AND BUILD_SHARED_LIBS)
++ if(0)
+ install(FILES ${CMAKE_BINARY_DIR}/lib/\${CMAKE_INSTALL_CONFIG_NAME}/${filename}.pdb
+ DESTINATION lib
+ CONFIGURATIONS Debug RelWithDebInfo