[libssh] Fix static build failure when VCPKG_BUILD_TYPE is set

This commit is contained in:
past-due 2018-03-19 20:04:20 -04:00
parent 5968ebf9f4
commit 6f7d92ddd3

View File

@ -37,6 +37,8 @@ vcpkg_copy_pdbs()
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
if(EXISTS ${CURRENT_PACKAGES_DIR}/lib/static/ssh.lib)
file(RENAME ${CURRENT_PACKAGES_DIR}/lib/static/ssh.lib ${CURRENT_PACKAGES_DIR}/lib/ssh.lib)
endif()
if(EXISTS ${CURRENT_PACKAGES_DIR}/debug/lib/static/ssh.lib)
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/static/ssh.lib ${CURRENT_PACKAGES_DIR}/debug/lib/ssh.lib)
endif()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)