[cmake-developers] CMake, Xcode 4.4, and Mountain Lion

Óscar Fuentes ofv at wanadoo.es
Mon Jul 30 22:53:44 EDT 2012


Ho Cheung <hocheung20 at gmail.com> writes:

[snip]

> Since Xcode uses clang but CMAKE_C_COMPILER is set to gcc, the gcc
> compiler flags are being passed to clang.

Something related to this issue is being commented on the LLVM ml rigth
now: while searching for compilers, CMake prefers gcc over cc and that
is causing trouble:

http://comments.gmane.org/gmane.comp.compilers.llvm.devel/52263





More information about the cmake-developers mailing list