diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2020-02-05 18:19:25 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-05 18:19:25 -0800 |
| commit | 53b4fba4440ca8ea3c1bc1a6f0fc3551f9c8221c (patch) | |
| tree | 302c612767e3f9a4d7e13b2527ad0e000ee7d79f /ports/libssh/install-config.patch | |
| parent | 0ba50612fbbfb9d64f9c60825847c12f956666c6 (diff) | |
| parent | fff8a64f41b021d2da9bf2ae476635c1ec5fb598 (diff) | |
| download | vcpkg-53b4fba4440ca8ea3c1bc1a6f0fc3551f9c8221c.tar.gz vcpkg-53b4fba4440ca8ea3c1bc1a6f0fc3551f9c8221c.zip | |
Merge pull request #4983 from cryptomilk/master-libssh
[libssh] Update libssh to version 0.9.3
Diffstat (limited to 'ports/libssh/install-config.patch')
| -rw-r--r-- | ports/libssh/install-config.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/ports/libssh/install-config.patch b/ports/libssh/install-config.patch deleted file mode 100644 index 4943765d5..000000000 --- a/ports/libssh/install-config.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index b9f6ef485..c910d37eb 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -145,8 +145,6 @@ install( - ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config-version.cmake - DESTINATION - ${CMAKE_INSTALL_DIR}/${PROJECT_NAME} -- COMPONENT -- devel - ) - - if (WITH_EXAMPLES) -diff --git a/0.9.0-daf25b6f84 - Kopie/libssh-config.cmake.in b/0.9.0-daf25b6f84/libssh-config.cmake.in -index 11388f009..2f826a9b4 100644 ---- a/libssh-config.cmake.in -+++ b/libssh-config.cmake.in -@@ -6,7 +6,16 @@ if (EXISTS "${CMAKE_CURRENT_LIST_DIR}/CMakeCache.txt") - set_and_check(LIBSSH_LIBRARIES "${CMAKE_CURRENT_LIST_DIR}/lib/@LIBSSH_LIBRARY_NAME@") - else() -+ # Compute the installation prefix relative to this file. -+get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) -+get_filename_component(PACKAGE_PREFIX_DIR "${PACKAGE_PREFIX_DIR}" PATH) -+get_filename_component(PACKAGE_PREFIX_DIR "${PACKAGE_PREFIX_DIR}" PATH) -+if(PACKAGE_PREFIX_DIR STREQUAL "/") -+ set(PACKAGE_PREFIX_DIR "") -+endif() - set_and_check(LIBSSH_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@") -- set_and_check(LIBSSH_LIBRARIES "@PACKAGE_LIB_INSTALL_DIR@/@LIBSSH_LIBRARY_NAME@") -+ set_and_check(LIBSSH_LIBRARIES_RELEASE "@PACKAGE_LIB_INSTALL_DIR@/@LIBSSH_LIBRARY_NAME@") -+ set_and_check(LIBSSH_LIBRARIES_DEBUG "@PACKAGE_LIB_INSTALL_DIR@/../debug/lib/@LIBSSH_LIBRARY_NAME@") -+ set_and_check(LIBSSH_LIBRARIES "optimized;${LIBSSH_LIBRARIES_RELEASE};debug;${LIBSSH_LIBRARIES_DEBUG}") - endif() - - # For backward compatibility |
