vcpkg/ports/allegro5/do-not-copy-pdbs-to-lib.patch
Jack·Boos·Yu d8b9ae5c69
[allergo5] Export cmake targets, disable install pdbs to lib (#19493)
* [allergo5] Export cmake targets, disable install pdbs to lib

* version

* apply suggestions

* version

* Re-generate targets

* version

* Apply suggestions

* version
2021-11-23 11:15:44 -08:00

14 lines
493 B
Diff

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/${filename}.pdb
DESTINATION lib
CONFIGURATIONS Debug RelWithDebInfo