[CMake] No CMAKE_CXX_COMPILER could be found

Jon Hodgson jonhodgson.devlists at googlemail.com
Fri Apr 17 08:44:14 EDT 2015


HI,

Running OSX Snow Leopard, XCode 5.1.1

Command line tools installed.

If I type
clang --version
at the command line I get version 5.1


CMake 3.2.2

The first lines of outpuit I get are

The CXX compiler identification is AppleClang 5.1.0.5030040
The C compiler identification is AppleClang 5.1.0.5030040

But then it bombs out at the line

PROJECT(${PROJECT_NAME} CXX C)

with the error

No CMAKE_CXX_COMPILER could be found

CMake 2.8.11 doesn't bomb out at that point (but does later due to the fact
hat this CMakelist.txt file uses functionality that has changed).

Anybody got any idea what is going on?

cheers

Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150417/8c5a818a/attachment.html>


More information about the CMake mailing list