Skip to content

Commit 083826f

Browse files
authored
Merge pull request #150 from chaitu-tk/master
libssh: Fix the replace order to derive libssh path
2 parents 02ea9ad + f2a28fc commit 083826f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CMakeModules/FindLibSSH.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ else (LIBSSH_LIBRARY_DIR AND LIBSSH_INCLUDE_DIRS)
7070
)
7171

7272
if (SSH_FOUND)
73-
string(REPLACE "ssh.so" ""
73+
string(REPLACE "libssh.so" ""
7474
LIBSSH_LIBRARY_DIR
7575
${SSH_LIBRARY}
7676
)
77-
string(REPLACE "libssh.so" ""
77+
string(REPLACE "ssh.so" ""
7878
LIBSSH_LIBRARY_DIR
7979
${LIBSSH_LIBRARY_DIR}
8080
)

0 commit comments

Comments
 (0)