[CMake] 2.8/3.0: CMAKE_FORCE_C_COMPILER semantics

Rolf Eike Beer eike at sf-mail.de
Sun Apr 13 06:05:01 EDT 2014


Am Sonntag, 13. April 2014, 11:05:44 schrieb Tim Blechmann:
> hi all,
> 
> i'm trying to use the iOS.cmake toolchain file from [1]. it works fine
> with cmake-2.8.12.2, but fails with cmake-3.0 (today's master), which
> gives me:
> 
> ------>8-------
> CMake Error at CMakeLists.txt:16 (project):
>   The CMAKE_C_COMPILER:
> 
>     gcc
> 
>   is not a full path and was not found in the PATH.

> * any suggestion for a workaround?

Use an absolute path?

Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140413/e2952b22/attachment.sig>


More information about the CMake mailing list