[glew] Avoid renaming DLLs, because LIBs reference them by name. Prefer using vcpkg_copy_pdbs().

This commit is contained in:
Robert Schumacher 2017-01-13 17:54:13 -08:00
parent 51de300681
commit c5636c4692
2 changed files with 2 additions and 7 deletions

View File

@ -1,3 +1,3 @@
Source: glew
Version: 2.0.0
Version: 2.0.0-1
Description: The OpenGL Extension Wrangler Library (GLEW) is a cross-platform open-source C/C++ extension loading library.

View File

@ -57,15 +57,10 @@ message(STATUS "Installing")
if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
file(INSTALL
${SOURCE_PATH}/bin/Debug/${BUILD_ARCH}/glew32d.dll
DESTINATION ${CURRENT_PACKAGES_DIR}/debug/bin RENAME glew32.dll
)
file(INSTALL
${SOURCE_PATH}/bin/Debug/${BUILD_ARCH}/glew32d.pdb
DESTINATION ${CURRENT_PACKAGES_DIR}/debug/bin RENAME glew32.pdb
DESTINATION ${CURRENT_PACKAGES_DIR}/debug/bin
)
file(INSTALL
${SOURCE_PATH}/bin/Release/${BUILD_ARCH}/glew32.dll
${SOURCE_PATH}/bin/Release/${BUILD_ARCH}/glew32.pdb
DESTINATION ${CURRENT_PACKAGES_DIR}/bin
)
file(INSTALL