SVN commit 1014846 by rkcosta: At least on FreeBSD there is a libssh.so in /usr/lib, but it doesn't belong to libssh (which would have installed it to /usr/local/lib anyway).
So we only set SSH_FOUND to TRUE if both the library and the header are found. CCMAIL: [email protected] CCMAIL: [email protected] M +2 -2 FindLibSSH.cmake --- trunk/KDE/kdebase/runtime/cmake/modules/FindLibSSH.cmake #1014845:1014846 @@ -39,9 +39,9 @@ /sw/lib ) - if (SSH_LIBRARY) + if (LIBSSH_INCLUDE_DIR AND SSH_LIBRARY) set(SSH_FOUND TRUE) - endif (SSH_LIBRARY) + endif (LIBSSH_INCLUDE_DIR AND SSH_LIBRARY) set(LIBSSH_INCLUDE_DIRS ${LIBSSH_INCLUDE_DIR} _______________________________________________ Kde-buildsystem mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-buildsystem
