Make use of vcpkg_copy_pdbs instead of manually copying the pdb files (#5733)

This commit is contained in:
Johnny Willemsen 2019-03-19 20:07:35 +00:00 committed by Phil Christensen
parent 44b9e5f98b
commit 14bc52eb39
2 changed files with 3 additions and 11 deletions

View File

@ -1,3 +1,3 @@
Source: ace
Version: 6.5.4-1
Version: 6.5.4-2
Description: The ADAPTIVE Communication Environment

View File

@ -89,16 +89,6 @@ function(install_ace_library SOURCE_PATH ACE_LIBRARY)
${LIB_PATH}/${ACE_LIBRARY}.dll
DESTINATION ${CURRENT_PACKAGES_DIR}/bin
)
# Install the pdb files
file(INSTALL
${LIB_PATH}/${ACE_LIBRARY}${DLL_DECORATOR}d_dll.pdb
DESTINATION ${CURRENT_PACKAGES_DIR}/debug/bin
)
file(INSTALL
${LIB_PATH}/${ACE_LIBRARY}${DLL_DECORATOR}.pdb
DESTINATION ${CURRENT_PACKAGES_DIR}/bin
)
endif()
# Install the lib files
@ -124,3 +114,5 @@ install_ace_library(${ACE_ROOT} "ACE_RLECompression")
# Handle copyright
file(COPY ${ACE_ROOT}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/ace)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/ace/COPYING ${CURRENT_PACKAGES_DIR}/share/ace/copyright)
vcpkg_copy_pdbs()