From 4801dcecf3d43d6a02b88f7f22ca16a4ad3332ca Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 23 Oct 2020 20:48:15 -0700 Subject: [PATCH] cleanup: remove outdated explicit libssh2 link We used to need this when building our own libgit2 on older distibutions. This shouldn't be needed anymore at all. Signed-off-by: Dirk Hohndel --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e3e6ad780..dbb2995dd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -211,8 +211,7 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux") # this is only needed on Ubuntu # but shouldn't hurt on other Linux versions # in some builds we appear to be missing libz for some strange reason... - # Add ssh2 at the end for openSUSE builds (for recent cmake?) - set(SUBSURFACE_LINK_LIBRARIES ${SUBSURFACE_LINK_LIBRARIES} -lssh2 -lz -lpthread) + set(SUBSURFACE_LINK_LIBRARIES ${SUBSURFACE_LINK_LIBRARIES} -lz -lpthread) # Test for ARM processor (Raspberry Pi) and add libGLESv2 if found if (CMAKE_SYSTEM_PROCESSOR STREQUAL "armv7l" OR CMAKE_SYSTEM_PROCESSOR STREQUAL "armv6l")