Support CMake-Version-Variables

Andreas Pakulat apaku at gmx.de
Thu Aug 7 19:39:51 CEST 2008


Hi,

since we require Cmake 2.6 now I think we should support CMake's
"integrated" way of version-checking. CMake 2.6 supports this:

find_package(KDE4 4.2.0)

and I'm proposing the attached patch to make this work. This removes the
need for setting an extra variable before calling find_package, still
KDE_MIN_VERSION is given authority over the cmake-way for backwards
compatibility reasons.

Objections against comitting this?

Andreas

-- 
You will obey or molten silver will be poured into your ears.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmake_version_support.diff
Type: text/x-diff
Size: 1195 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20080807/9c900726/attachment.bin 


More information about the Kde-buildsystem mailing list