On Sat, May 24, 2008 at 12:46 AM, Eduardo Alberto Hernández Muñoz <<a href="mailto:coz.eduardo.hernandez@gmail.com">coz.eduardo.hernandez@gmail.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<div class="Ih2E3d"><br>
>> I am wondering if there is a way to disable checking that the ELSE and<br>
>> ENDIF arguments need to the the same as the initial IF. For example,<br>
</div>> [...]<br>
<div class="Ih2E3d">> This is the default in CMake 2.6, you don't need to specify the statement in<br>
> the endif.<br>
<br>
</div>Thanks!<br>
<br>
I'm running on Cmake 2.4.8, and I was wondering if there was any<br>
reason to upgrade to 2.6.0, seems like I found one :p</blockquote><div><br>Actually, you can use the CMAKE_ALLOW_LOOSE_LOOP_CONTRUCTS variable on CMake 2.4.8 to get the same effect, so technically you don't have to upgrade to get this feature. You should still upgrade of course, I'm just mentioning this if you need backwards compatibility with CMake 2.4.x or can't immediately port to <a href="http://2.6.0.">2.6.0.</a><br>
<br><a href="http://www.cmake.org/Wiki/CMake_Useful_Variables#Various_Options">http://www.cmake.org/Wiki/CMake_Useful_Variables#Various_Options</a><br></div></div><br>-- <br>Philip Lowman