[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tsp-devel] Is cmake minimum required version 2.4.6 ?
From: |
Frederik Deweerdt |
Subject: |
Re: [Tsp-devel] Is cmake minimum required version 2.4.6 ? |
Date: |
Fri, 2 Mar 2007 12:08:42 +0000 |
User-agent: |
mutt-ng/devel-r804 (Linux) |
On Fri, Mar 02, 2007 at 01:04:50PM +0100, Robert de Vries wrote:
> Frederik Deweerdt wrote:
> >On 2/17/07, Stephane GALLES <address@hidden> wrote:
> >>Hi,
> >>
> >>on my system, I can't build a fresh TSP check out with cmake 2.4.3
> >>The cmake phase goes well, but the make phase immediatly ends with :
> >>
> >>make: *** [cmake_check_build_system] Error 255
> >>
> >For the record, I've managed building with cmake 2.4.3 with the
> >following applied:
> This is strange. The EXECUTE_PROCESS construct is used twice (once with
> --libs and once with --cflags). The first instance is replaced and
> the second one is left intact. How could this make a difference unless it
> masks a bug in cmake?
It is in my opinion. For a reason uknown to me, cmake adds a newline
at the end of the result of the EXECUTE_PROCESS() command _for this
particular command_.
This messes the root CMakeCache.txt file, and the build process is unable
to go on.
That's why I'm not sure we really need the fix I sent, it's a cmake bug
after all.
Fred