[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-buildsystem
Subject:    KDE/kdebase/runtime/cmake/modules
From:       Raphael Kubo da Costa <kubito () gmail ! com>
Date:       2009-08-23 23:58:06
Message-ID: 1251071886.978033.12770.nullmailer () svn ! kde ! org
[Download RAW message or body]

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@kde.org
CCMAIL: mail@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}
_______________________________________________
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic