Hi,

I quote from the documentation (2.8)

>   if(<constant>)
> 
> True if the constant is 1, ON, YES, TRUE, Y, or a non-zero number. False if
> the constant is 0, OFF, NO, FALSE, N, IGNORE, "", or ends in the suffix
> '-NOTFOUND'. Named boolean constants are case-insensitive.

So what is the value of say "/home/esben/kde/lib/mylibrary.so"? Experimental 
test and common sense say true, but the documentation doesn't say so. Wouldn't 
the correct documentation be

  if(<constant>)
False if the constant is 0, OFF, NO, FALSE, N, IGNORE, "", or ends in the 
suffix '-NOTFOUND'. Named boolean constants are case-insensitive. IF the 
constant has any other value, it is true.

Right?

-- 
Kind regards, Esben
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to