<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-2" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif">Hi all,<br>
<br>
MINGW is not set for CXX projects, it works with C projects though.<br>
<br>
Please add:<br>
<br>
    IF("${CMAKE_COMPILER_OUTPUT}" MATCHES ".*THIS_IS_MINGW.*" )<br>
      SET(CMAKE_COMPILER_IS_MINGW 1)<br>
    ENDIF("${CMAKE_COMPILER_OUTPUT}" MATCHES ".*THIS_IS_MINGW.*" )<br>
    IF("${CMAKE_COMPILER_OUTPUT}" MATCHES ".*THIS_IS_CYGWIN.*" )<br>
      SET(CMAKE_COMPILER_IS_CYGWIN 1)<br>
    ENDIF("${CMAKE_COMPILER_OUTPUT}" MATCHES ".*THIS_IS_CYGWIN.*" )<br>
<br>
in CMakeDetermineCXXCompiler.cmake just before   ENDIF(NOT
CMAKE_COMPILER_RETURN).<br>
</font></font><font size="-1"><font face="Helvetica, Arial, sans-serif"><br>
I hope this will be included in cmake 2.4 ;-)<br>
<br>
Regards,<br>
Cristi.<br>
</font></font>
</body>
</html>