[ANNOUNCE] CMake 2.6.4 will be required for trunk/ May 1st

Matthew Woehlke mw_triad at users.sourceforge.net
Thu Apr 15 17:04:08 BST 2010

Ralf Habacker wrote:
> Just one question: Is it with [2.6.4] be possible to use the following
> if(expression)
> else()
> endif()
> in KDE related cmake scripts ? It would be help writing if statements
> less error prone.

 From the official FAQ¹: "As of CMake 2.6.0 the ELSE() and ENDIF() 
constructs can be empty." So unless you are talking about public scripts 
(e.g. FindKDE4) and those are supposed to still work on 2.4.x, then this 
has been possible for some time.

¹ http://www.cmake.org/Wiki/CMake_FAQ

Please do not quote my e-mail address unobfuscated in message bodies.
"You're older than you've ever been / And now you're even older"
   -- They Might Be Giants

More information about the kde-core-devel mailing list