KDE/kdebase/runtime/cmake/modules
Raphael Kubo da Costa
kubito at gmail.com
Mon Aug 24 01:58:06 CEST 2009
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: kde-buildsystem at kde.org
CCMAIL: mail at cynapses.org
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}
More information about the Kde-buildsystem
mailing list