cmake 2.4.2 stable released

Peter Kümmel syntheticpp at
Wed May 17 21:07:03 BST 2006

Alexander Neundorf wrote:
> Hi,
> the first stable version of cmake 2.4 has just been released:
> It contains some fixes and some performance improvements.
> Among others, it doesn't use KDEDIR anymore, but only KDEDIRS.
> For the windows developers: please check that it works for you, I checked in 
> some changes to FindKDE4.cmake (which should make it better especially under 
> Windows, but I can't test).
> So, if you want to, feel free to install and try 2.4.2.
> We still require cmake 2.4.1 and I don't see a reason to require 2.4.2 now.
> Bye
> Alex

We need this patch to use 2.4.2,

Index: cmake/modules/KDE4Macros.cmake
--- cmake/modules/KDE4Macros.cmake      (Revision 541949)
+++ cmake/modules/KDE4Macros.cmake      (Arbeitskopie)
@@ -497,7 +497,7 @@
    endif (${second_PARAM} STREQUAL "RUN_UNINSTALLED")

    if (NOT "${remove}" STREQUAL "NOTFOUND")
-      list(REMOVE_ITEM ${_output_LIST} ${remove})
+      list(REMOVE_AT ${_output_LIST} ${remove})
    endif (NOT "${remove}" STREQUAL "NOTFOUND")

but it will break the 2.4.1 usage. Is there a cmake version variable.


More information about the kde-core-devel mailing list