diff options
| author | Alexander Karatarakis <alex@karatarakis.com> | 2018-03-20 02:03:55 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-20 02:03:55 -0700 |
| commit | 7e644cd687360c9d047b0f722201e7ea1588cb88 (patch) | |
| tree | 989e50acf0a62a0da000762f82b09d4cdb65d796 | |
| parent | 246327286400928ab912e402621e0142495cea8b (diff) | |
| parent | 6f7d92ddd38ae80da6cc40251b495dd446b9687c (diff) | |
| download | vcpkg-7e644cd687360c9d047b0f722201e7ea1588cb88.tar.gz vcpkg-7e644cd687360c9d047b0f722201e7ea1588cb88.zip | |
Merge pull request #3091 from past-due/libssh_fix_vcpkg_build_type
[libssh] Fix static build failure when VCPKG_BUILD_TYPE is set
| -rw-r--r-- | ports/libssh/portfile.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/libssh/portfile.cmake b/ports/libssh/portfile.cmake index 7d986d244..49c927c22 100644 --- a/ports/libssh/portfile.cmake +++ b/ports/libssh/portfile.cmake @@ -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) |
