[Cmake] Problems with LatestRelease

Lorensen, William E (Research) lorensen at crd.ge.com
Fri Jul 19 11:54:07 EDT 2002


I'm saying that something changed when I updated to LatestRelease yesterday.
Fred Wheeler pointed out a discussion of this a couple of emails back,

Bill
-----Original Message-----
From: Brad King [mailto:brad.king at kitware.com]
Sent: Friday, July 19, 2002 10:58 AM
To: Lorensen, William E (Research)
Cc: CMake
Subject: Re: [Cmake] Problems with LatestRelease


Bill,

> The following problem appeared after the upgrade. It seems that if a
> variable, say foo, is not defined, then its substitution is ${foo}. I
> believe that in the prior release, no substitution was done and nothing
> was output.

Are you saying that previously "${foo}" became "", and now "${foo}" is
left untouched when foo is not defined?  I'm pretty sure that the latter
has always been the case.  We are currently considering changing this
behavior to the former, though.

> Here's the example from FindFLTK.cmake...
>
> SET( FLTK_LIBRARY ${FLTK_BASE_LIBRARY} ${FLTK_GL_LIBRARY} ${FLTK_FORMS_LIBRARY} )
>
> There is logic on the cmake file to set FLTK_GL_LIBRARY and
> FLTK_FORMS_LIBRARY only under certain conditions. Otherwise they are
> never set. The CMakeCache.txt file reports ${FLTK_GL_LIBRARY} and
> ${FLTK_FORMS_LIBRARY} when they are referenced.

I just ran CMake on ITK with USE_FLTK set to ON, but no installation of
FLTK.  The CMakeCache.txt contains only NOTFOUND entries for these
libraries.  What is the actual problem you're having (or at least what
symptom are you seeing)?

-Brad




More information about the CMake mailing list