I was able to compile zlib yesterday with CMake but the only possible change was installing Windows 10 SDK 10.0.14393.33 and now that I configure it with the same choice (Vi
well, really weird but turns out you have to run CMake with right clicking on the executable and running it as admin. I am not sure if this is the correct solution but now it is working!!!