Commit e6afe2f9 authored by Piotr Henryk Dabrowski's avatar Piotr Henryk Dabrowski
Browse files

sftp: fix CMake build error in including libssh library

parent cab44f00
Pipeline #73626 passed with stage
in 3 minutes and 12 seconds
......@@ -2,7 +2,7 @@
# Once done this will define
#
# LIBSSH_FOUND - system has libssh
# LIBSSH_INCLUDE_DIRS - the libssh include directory
# LIBSSH_INCLUDE_DIR - the libssh include directory
# LIBSSH_LIBRARIES - Link these to use libssh
# LIBSSH_DEFINITIONS - Compiler switches required for using libssh
......@@ -105,5 +105,5 @@ find_package_handle_standard_args(libssh
libssh_ensure_imported_target()
# show the LIBSSH_INCLUDE_DIRS and LIBSSH_LIBRARIES variables only in the advanced view
# show the LIBSSH_INCLUDE_DIR and LIBSSH_LIBRARIES variables only in the advanced view
mark_as_advanced(LIBSSH_INCLUDE_DIR LIBSSH_LIBRARIES)
......@@ -28,7 +28,6 @@ ecm_qt_declare_logging_category(kio_sftp
EXPORT KIO_EXTRAS
)
target_include_directories(kio_sftp PRIVATE ${LIBSSH_INCLUDE_DIR})
if(WIN32)
target_include_directories(kio_sftp PRIVATE ${QT_MKSPECS_DIR}/default) # for SYMLINKS
endif()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment