[CMake] Building CMake using CMake 3.6.3 fails.

Brad King brad.king at kitware.com
Fri Nov 4 14:58:11 EDT 2016


On 11/04/2016 03:23 AM, Andrew Maclean wrote:
> To be more specific it only occurs when building the debug version of CMake.
> Release is OK. VTK builds and VTK Wiki examples are OK.
> 
> On Fri, Nov 4, 2016 at 5:57 PM, Andrew Maclean wrote:
> 
>     Windows 10 64-bit using ninja, Qt 5.7 MSVC 2105.
>     Building CMake with CMake 3.6.2 was OK.
>     Now using CMake 3.6.3 I get the following message:
>     CMake Error in Source/QtDialog/CMakeLists.txt:
>     -------------------------
>     [0/1] Re-running CMake...
>     -- cannot compile simplest ever MFC app, avoiding MFC test
>     -- Configuring done
>     CMake Error in Source/QtDialog/CMakeLists.txt:
>       No known features for CXX compiler
> 
>       "MSVC"
> 
>       version 19.0.24215.1.

Strange.  There is almost no difference between 3.6.2 and 3.6.3:

```
$ git diff v3.6.2 v3.6.3 --stat |cat
 Modules/FindHDF5.cmake         | 12 ++----------
 Source/CMakeVersion.cmake      |  2 +-
 Source/QtDialog/CMakeSetup.cxx |  2 ++
 3 files changed, 5 insertions(+), 11 deletions(-)
```

-Brad



More information about the CMake mailing list