I am trying to build source of libgit2 on windows 8 using visual studio command prompt 2010. I have also compiled & install libssh2 source successfully on machine.
libssh2 installed path : C:\Program Files (x86)\libssh2
Whenever I am executing command cmake .. for libgit2 CMake.list, I am getting output as LIBSSH2 not found. Set CMAKE_PREFIX_PATH if it is installed outside of the default search path.
I have tried several suggestions which is available on stackoverflow as well, but there is no luck. Also I tried to put libssh2 compiled folder including sub-directories (include, lib & share) in cmake/Modules folder of libgit2.
Anybody suggest me what is the correct way to configure external dependency in CMakelist.txt for including libssh2 module in libgit2?
Thanks in advance!