CMake unable to determine linker language with C++

后端 未结 10 1607
野趣味
野趣味 2020-11-28 06:41

I\'m attempting to run a cmake hello world program on Windows 7 x64 with both Visual Studio 2010 and Cygwin, but can\'t seem to get either to work. My directory structure is

10条回答
  •  有刺的猬
    2020-11-28 07:28

    Confusing as it might be, the error also happens when a cpp file included in the project does not exist.

    If you list your source files in CMakeLists.txt and mistakenly type a file name then you get this error.

提交回复
热议问题