[CMake] Complaint about if..endif

Robert Dailey rcdailey at gmail.com
Sat Nov 22 00:17:36 EST 2008


Hi,

Why must endif() contain the same expression as the associated if() command?
Isn't CMake smart enough to know that a simple occurrence of "endif()"
simply matches the previous if(), regardless of its expression list? Are
there any plans to simplify this? The way it is now is redundant and
boilerplate.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20081121/2c8bfbf0/attachment.htm>


More information about the CMake mailing list