[CMake] Re: Re: FindQt4 in 2.4.8 bug
Bill Hoffman
bill.hoffman at kitware.com
Fri Feb 1 12:19:46 EST 2008
Hendrik Sattler wrote:
>> But:
>>
>> find_library(FOO_VAR foo)
>>
>> This will set FOO_VAR (in the cache) if it is not set, or if the value
>> has -NOTFOUND in it.
>>
>> However,
>>
>> set(FOO_VAR somevalue CACHE STRING "")
>>
>> Will only set FOO_VAR if it has no value at all. Seems a bit
>> inconsistent.
>
> So you want to give NOTFOUND an even more special status than all the
> other negative variable values? This is not even close to being
> backwards-compatible. And you can always check for NOTFOUND and use
> FORCE. I don't see the problem that qualifies for changing SET in an
> incompatible way.
>
OK, I am not that stuck on the idea.
-Bill
More information about the CMake
mailing list