[CMake] No CMAKE_CXX_COMPILER could be found

Brad King brad.king at kitware.com
Fri Apr 17 10:40:07 EDT 2015


On 4/17/2015 8:44 AM, Jon Hodgson wrote:
> The CXX compiler identification is AppleClang 5.1.0.5030040
> The C compiler identification is AppleClang 5.1.0.5030040

Good.

> But then it bombs out at the line
> 
> PROJECT(${PROJECT_NAME} CXX C)
> 
> with the error 
> 
> No CMAKE_CXX_COMPILER could be found

There may be more information in the CMakeFiles/*.log files.

What generator are you using?

-Brad


More information about the CMake mailing list