[CMake] Re: Re: Re: Re: FindQt4 in 2.4.8 bug

Bill Hoffman bill.hoffman at kitware.com
Sat Feb 2 09:25:11 EST 2008


John Biddiscombe wrote:
> 
>> IMO this whole thing is upside down. SET should override unless 
>> explicitely forbidden (for example by adding a READONLY qualifier, or 
>> so), not the other way around.
> Quite right. The original implementation was strange, but we're stuck 
> with it. I would however like to vote in favour of changing set with 
> NOTFOUND since NOTFOUND is a special value and it should be overwritten.
> 

No, no,no no.....

If set did an override with cache variables, then the GUI would be 
absolutely useless.  If you want that behavior then just use INTERNAL 
variables.  Those variables are never presented to the user and are 
stored in the cache.   If you want a variable that a user can change in 
the cache, then you never never want to change, but only initialize it 
from a cmakelist file.

-Bill


More information about the CMake mailing list