libgit2/rugged — pull request #424 by jweather (2014-10-02 20:15:08+00:00)
Title: tell CMake to generate UNIX makefiles to avoid issues building on Window...

Building rugged on Windows when Visual Studio is installed causes CMake to default to Visual Studio project files, which are not understood by the DevKit environment and cause the installation to fail.

Passing -G "Unix Makefiles" to cmake causes it to create the expected Makefile and allows gem installation to succeed on Windows. It has no side effects on other platforms, where that is the default generator.

CMake's default generator behavior: http://stackoverflow.com/questions/6430251/what-is-the-default-generator-for-cmake-in-windows And relevant source: https://github.com/Kitware/CMake/blob/0f2defba7d89aced3b667c6afe031abdfd152540/Source/cmake.cxx#L1384