Skip to content

Commit

Permalink
[glew] Avoid renaming DLLs, because LIBs reference them by name. Pref…
Browse files Browse the repository at this point in the history
…er using vcpkg_copy_pdbs().
  • Loading branch information
ras0219-msft committed Jan 14, 2017
1 parent 51de300 commit c5636c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ports/glew/CONTROL
Original file line number Diff line number Diff line change
@@ -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.
7 changes: 1 addition & 6 deletions ports/glew/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c5636c4

Please sign in to comment.