diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-11-21 21:05:13 -0800 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-11-21 21:05:13 -0800 |
| commit | 18eeee6a2c2436b48530f3f778435ad4d00371bb (patch) | |
| tree | 5852e2db9a969627de71b98164c224c16355a90f | |
| parent | 480f50a7b0e050885fa79eb6c2ffc85e0a4e7649 (diff) | |
| download | vcpkg-18eeee6a2c2436b48530f3f778435ad4d00371bb.tar.gz vcpkg-18eeee6a2c2436b48530f3f778435ad4d00371bb.zip | |
[libssh2] Enable cmake config targets
| -rw-r--r-- | ports/libssh2/CONTROL | 2 | ||||
| -rw-r--r-- | ports/libssh2/portfile.cmake | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ports/libssh2/CONTROL b/ports/libssh2/CONTROL index 5c68d2693..d050bf838 100644 --- a/ports/libssh2/CONTROL +++ b/ports/libssh2/CONTROL @@ -1,4 +1,4 @@ Source: libssh2 -Version: 1.8.0-2 +Version: 1.8.0-3 Build-Depends: zlib, openssl Description: The SSH library diff --git a/ports/libssh2/portfile.cmake b/ports/libssh2/portfile.cmake index 2e3ee5009..9e5e5c025 100644 --- a/ports/libssh2/portfile.cmake +++ b/ports/libssh2/portfile.cmake @@ -24,13 +24,13 @@ vcpkg_configure_cmake( vcpkg_install_cmake() file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) -file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/lib/cmake) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share) -file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib/cmake) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib/pkgconfig) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/share) +vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/libssh2) + file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/libssh2 RENAME copyright) vcpkg_copy_pdbs()
\ No newline at end of file |
