vcpkg/ports/allegro5/do-not-copy-pdbs-to-lib.patch
Kai Pastor 33ca2dcc24
[allegro5|baseline] Minor changes, expect CI fail for arm64-windows (#27294)
* CI [skip actions]

* Remove obsolete vars

* Minor changes

* Trim patching

* Fix arm64 MSVC build

* Update versions

* Use msvc arm64 atomic ops

* Declare license

* CI [skip actions]

* Update versions

* Update baseline
2022-10-18 18:25:28 -07:00

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