[zlib] Add rename of zlibstatic.lib to zlib.lib to portfile

This commit is contained in:
Alexander Karatarakis 2016-09-28 13:48:28 -07:00
Родитель bf6ddeb018
Коммит c44a1c7ad4
1 изменённых файлов: 2 добавлений и 0 удалений

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

@ -25,6 +25,8 @@ if(VCPKG_BUILD_SHARED_LIBS)
else()
file(REMOVE ${CURRENT_PACKAGES_DIR}/lib/zlib.lib ${CURRENT_PACKAGES_DIR}/debug/lib/zlibd.lib)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
file(RENAME ${CURRENT_PACKAGES_DIR}/lib/zlibstatic.lib ${CURRENT_PACKAGES_DIR}/lib/zlib.lib)
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/zlibstaticd.lib ${CURRENT_PACKAGES_DIR}/debug/lib/zlibd.lib)
endif()
file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/zlib RENAME copyright)