Quoting Eduardo Alberto Hernández Muñoz <[EMAIL PROTECTED]>:

Hi,

I am wondering if there is a way to disable checking that the ELSE and
ENDIF arguments need to the the same as the initial IF. For example,
[...]
This is the default in CMake 2.6, you don't need to specify the statement in
the endif.

Thanks!

I'm running on Cmake 2.4.8, and I was wondering if there was any
reason to upgrade to 2.6.0, seems like I found one :p

You can SET( CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE ) if you want to disable strictness checking with CMake 2.4.8

--
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to