[CMake] mingw crosscompile error: invalid option `macosx-version-min=10.5' ?

Alexander Neundorf a.neundorf-work at gmx.net
Wed Jan 6 14:23:31 EST 2010


On Wednesday 06 January 2010, Claus Klein wrote:
> Hi Alex,
>
> The problem occurs always when I run cmake again, no matter of Windows
> or Windows-gcc is used.
> But I found in CMakeCache.txt this UNINITIALIZED values.
>
> claus-kleins-macbook-pro:build clausklein$ grep UNINITIALIZED
> CMakeCache.txt
> CMAKE_CROSSCOMPILING:UNINITIALIZED=1
> CMAKE_SYSTEM_NAME:UNINITIALIZED=Windows-gcc
> claus-kleins-macbook-pro:build clausklein$
>
> Perhaps this his the reason?

You need to start from a fresh build tree from scratch.
And you need to use "Windows" as system name, otherwise it cannot work.

Alex


More information about the CMake mailing list