Extra "CACHE" options

Allen Winter winter at kde.org
Wed Apr 16 22:38:20 CEST 2008


On Monday 14 April 2008 13:19:18 Brad King wrote:
> Hi Folks,
>
> I just noticed that these files in kdelibs/cmake/modules:
>
>    FindAkode.cmake
>    FindFreetype.cmake
>    FindGettext.cmake
>    FindOpenEXR.cmake
>    FindOpenEXR.cmake
>    FindPCRE.cmake
>
> contain lines like
>
>    set(PCRE_LIBRARIES ${PCRE_PCRE_LIBRARY} ${PCRE_PCREPOSIX_LIBRARY}
> CACHE STRING "The libraries needed to use PCRE")
>
> These should not be cache options because they just summarize
> information given by users.  The problem created by this is that if one
> of the libraries is not found then this variable stays broken even after
> the user has specified the library location.
>
Ok, I just committed the suggested changes in kdelibs/cmake/modules.
Basically I removed everything that was set into the CACHE.



More information about the Kde-buildsystem mailing list