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
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake