mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 12:48:01 +08:00
This is personal now
This commit is contained in:
parent
f90508f3be
commit
a354afaae3
13
ports/allegro5/fix-pdb-install.patch
Normal file
13
ports/allegro5/fix-pdb-install.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/cmake/Common.cmake b/cmake/Common.cmake
|
||||
index 782196f..de29535 100644
|
||||
--- a/cmake/Common.cmake
|
||||
+++ b/cmake/Common.cmake
|
||||
@@ -223,7 +223,7 @@ function(install_our_library target filename)
|
||||
# PUBLIC_HEADER DESTINATION "include"
|
||||
)
|
||||
if(MSVC AND BUILD_SHARED_LIBS)
|
||||
- install(FILES ${CMAKE_BINARY_DIR}/lib/\${CMAKE_INSTALL_CONFIG_NAME}/${filename}.pdb
|
||||
+ install(FILES ${CMAKE_BINARY_DIR}/lib/${filename}.pdb
|
||||
DESTINATION lib
|
||||
CONFIGURATIONS Debug RelWithDebInfo
|
||||
)
|
@ -25,6 +25,13 @@ if (VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
||||
else()
|
||||
set(ALLEGRO_USE_STATIC -DSHARED=OFF)
|
||||
endif()
|
||||
|
||||
vcpkg_apply_patches(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PATCHES
|
||||
${CMAKE_CURRENT_LIST_DIR}/fix-pdb-install.patch
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA # Disable this option if project cannot be built with Ninja
|
||||
|
Loading…
x
Reference in New Issue
Block a user