[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
Родитель 51de300681
Коммит c5636c4692
2 изменённых файлов: 2 добавлений и 7 удалений

Просмотреть файл

@ -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.

Просмотреть файл

@ -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