macro_ensure_version_range() problem
Allen Winter
winter at kde.org
Sat Aug 6 14:05:23 UTC 2011
Howdy,
In kde-workspace/solid/CMakeLists.txt we have this:
macro_ensure_version_range("0.7.0" ${NETWORKMANAGER_VERSION} "0.8.10" NM_0_7)
which is failing for me because in Fedora15, NETWORKMANGER_VERSION=0.8.9997
So this is a request for someone to look at fixing macro_ensure_version_range()
to properly handle a version number like 0.8.9997.
In fact, kdelibs/cmake/modules/MacroEnsureVersion.cmake has the comment:
"This macro will break silently if any of x,y,z are greater than 100."
Maybe truncating each x,y,z to the first 2 digits would be enough?
-Allen
--
Allen Winter | allen at kdab.net | Software Engineer
KDAB (USA), LLC, a KDAB Group company
Tel. USA +1-866-777-KDAB(5322), Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions
More information about the Kde-buildsystem
mailing list