Hi,<br><br>Why must endif() contain the same expression as the associated if() command? Isn&#39;t CMake smart enough to know that a simple occurrence of &quot;endif()&quot; 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.<br>