[CMake] zlib and pkg-config on window

2016-03-29 Thread Barry Scott
I am trying to build a couple of projects that use CMake, libssh2 and libgit2 on Windows 10 64 bit. I am installing all open source code into c:\OpenSource64 tree with the usual bin, lib, include folders. I cannot seem to find a set of -D that allows cmake to allow ZLIB and libssh2 be found when

Re: [CMake] Cmake fails to build libssh2 - wants VC 2010 told for VC 2015 build

2016-03-15 Thread Barry Scott
On Tue, 15 Mar 2016 10:37:04 +0300 Sergei Nikulov wrote: > Just checked with following steps > > 1. Opened command window (cmd.exe) > 2. Clone libssh2 from GitHub (git clone > https://github.com/libssh2/libssh2.git) Out of curiosity why did you ignore my steps using the tar ball and use the gi

[CMake] Cmake fails to build libssh2 - wants VC 2010 told for VC 2015 build

2016-03-14 Thread Barry Scott
Windows 10 with Cmake 3.4.3 or 3.5.0. I have the following Visual C versions installed. Microsoft Visual Studio 14.0 Microsoft Visual Studio 12.0 Microsoft Visual Studio 11.0 Visual C++ for Python I use the following script to build libssh2: setlocal set VER=1.7.0 call "C:\Program Files (x86)\Mi