The CMake file is implicitly assuming that Microsoft Visual Studio is the only compiler for Windows, which is of course false. The Microsoft Visual Studio-specific configuration should be guarded with MSVC. This change makes it possible to build YAJL with MinGW for example, see this patch in the MINGW-packages repository.
The CMake file is implicitly assuming that Microsoft Visual Studio is the only compiler for Windows, which is of course false. The Microsoft Visual Studio-specific configuration should be guarded with
MSVC
. This change makes it possible to build YAJL with MinGW for example, see this patch in the MINGW-packages repository.