[CMake] CMake 3.6 and OSX
Gregor Jasny
gjasny at googlemail.com
Mon Oct 31 05:39:32 EDT 2016
Hello Robert,
On 29/10/2016 22:03, Robert Ramey wrote:
> I've just "upgraded" to version 3.6 of CMake. I'm using Xcode with the
> clang compiler. Now when I'm trying to configure a project I'm getting:
>
> The C compiler identification is unknown
> The CXX compiler identification is unknown
> CMake Error at CMakeLists.txt:14 (project):
> No CMAKE_C_COMPILER could be found.
> CMake Error at CMakeLists.txt:14 (project):
> No CMAKE_CXX_COMPILER could be found.
>
> What do I have to do to make this work?
Have a look into <build_dir>/CMakeFiles/CMakeOutput.log and
CMakeError.log. There should be an error visible. Most often someone
forgets to accept the Xcode license. The resulting output leads to CMake
errors.
Thanks,
Gregor
More information about the CMake
mailing list