Extra "CACHE" options

Brad King brad.king at kitware.com
Mon Apr 14 22:05:59 CEST 2008


Allen Winter wrote:
> On Monday 14 April 2008 13:19:18 Brad King wrote:
>>    FindAkode.cmake
> I see CACHE INTERNAL  in FindAkode.cmake.  Isn't that ok?

It will work, but there is no reason to be in the cache.  The variable 
being set is just summarizing results for the project.

>>    FindGettext.cmake
> I see CACHE FILEPATH in FindGettext.cmake.  Isn't that ok?

No, because the FIND_LIBRARY call uses a different variable.  The SET 
CACHE line is just copying the result from the first run and never 
changes it.  Again, the variable is supposed to be reporting results 
cached by another variable.

Thanks,
-Brad


More information about the Kde-buildsystem mailing list