[CMake] CMAKE_UNAME bug?

William A. Hoffman billlist at nycap.rr.com
Thu Mar 9 15:47:26 EST 2006


At 04:02 AM 3/7/2006, Prakash Punnoor wrote:

>rm CMakeCache.txt
>cmake .
>
>-- Check for working C compiler: gcc
>-- Check for working C compiler: gcc -- works
>-- Check size of void*
>-- Check size of void* - done
>no uname                        <------
>-- Configuring done
>-- Generating done
>-- Build files have been written to: /tmp
>
>
>Is this expected behaviour? Experienced with cmake 2.2.3 and cvs from a few 
>days ago in Linux.

The problem is because CMakeCache.txt is being removed, it actually needs
to be rm CMakeCache.txt CMakeFiles/*.cmake.  I have checked in a fix to CVS
that will automatically remove CMakeFiles/*.cmake if the CMakeCache.txt has
been removed.

-Bill



More information about the CMake mailing list