aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/Modules/HandleFindGit2.cmake
AgeCommit message (Collapse)Author
2019-03-21CMake: simplify code in HandleFindGit2Gravatar Rolf Eike Beer
Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
2017-07-03WhitespaceGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-03Fix '-L-lcurl' linker warningGravatar Dirk Hohndel
This would happen if we don't have a specific directory in LIBSSH2_LIBRARY_DIRS. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-03-09Fix cmake for libssh2 1.7 and laterGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-12-19Trying to fix persistent build problemsGravatar Dirk Hohndel
This shouldn't hurt on any platform, but it may help on a couple of platforms where it appears we are missing libcrypto on the link line. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-12-17Cmake: fix variable name case confusionGravatar Dirk Hohndel
I don't know why on one of my Macs (running El Capitan, XCode 7.2, cmake 3.4.1) I get Libssh2_FOUND instead of LIBSSH2_FOUND, but this hack works around the problem. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-12-17Code cleanupGravatar Tomaz Canabrava
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-12-17Remove depreceated calls to -DLIBGIT23Gravatar Tomaz Canabrava
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-12-16Start to clean the Main CMakeLists.txt filelGravatar Tomaz Canabrava
CMake is a strange and complex language for buildsystems, and as such we need to let the main CMakeLists.txt be as clear as possible. Moving a bunch of code that deals with finding git via default CMake way or pkg_cofig to a file named 'HandleFindGit' on our cmake/Modules folder. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>