According to this:
http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:if
the syntax is:
if(expression)
...
elseif(expression2)
...
else(expression)
...
endif(expression)
I was recently made aware that:
if(expression)
...
elseif(expression2)
...
else()
...
endif()
should also work. Should the documentation be updated to reflect this
possibility? Or are they different in some way?
David
_______________________________________________
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