File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -232,13 +232,13 @@ ENDIF()
232232# Optional external dependency: libssh2
233233IF (USE_SSH)
234234 FIND_PKGLIBRARIES(LIBSSH2 libssh2)
235- IF (NOT LIBSSH2_FOUND)
236- FIND_PACKAGE (LibSSH2)
237- SET (LIBSSH2_INCLUDE_DIRS ${LIBSSH2_INCLUDE_DIR} )
238- GET_FILENAME_COMPONENT (LIBSSH2_LIBRARY_DIRS "${LIBSSH2_LIBRARY} " DIRECTORY )
239- SET (LIBSSH2_LIBRARIES ${LIBSSH2_LIBRARY} )
240- SET (LIBSSH2_LDFLAGS "-lssh2" )
241- ENDIF ()
235+ IF (NOT LIBSSH2_FOUND)
236+ FIND_PACKAGE (LibSSH2)
237+ SET (LIBSSH2_INCLUDE_DIRS ${LIBSSH2_INCLUDE_DIR} )
238+ GET_FILENAME_COMPONENT (LIBSSH2_LIBRARY_DIRS "${LIBSSH2_LIBRARY} " DIRECTORY )
239+ SET (LIBSSH2_LIBRARIES ${LIBSSH2_LIBRARY} )
240+ SET (LIBSSH2_LDFLAGS "-lssh2" )
241+ ENDIF ()
242242ENDIF ()
243243IF (LIBSSH2_FOUND)
244244 SET (GIT_SSH 1)
You can’t perform that action at this time.
0 commit comments