Detecting old installs of kdepimlibs
Allen Winter
winter at kde.org
Tue Jan 22 18:33:20 CET 2008
Howdy,
Is there a slick way for FindKdepimlibs.cmake to detect that the
currently installed version is too old?
i.e suppose I forget to install kdepimlibs 4.1 before installing kdepim 4.1
and I still have kdepimlibs 4.0 installed
Currently, FindKdepimLibs.cmake simply looks if a certain header is
installed, and if it is, happily reports the found condition.
I suppose we could install a kdepimlibs.h with a version number in it
and grep for that version.
kdelibs seems to do something with a KDELibsDependencies.cmake file
but I can't make out what's really happening there.
-Allen
More information about the Kde-buildsystem
mailing list