FindLibLZMA.cmake
Mario Bensi
mbensi at ipsquad.net
Tue May 22 06:22:37 UTC 2012
Hi
I tried to push the findLibLZMA in cmake but actually i have no news about it.
They requested some change in the module to support the version.
I added it, you have the new version in attachment.
But actually i have no news to integrate this in cmake.
Do you want i push this in extra cmake modules ?
Mario
On Monday, May 07, 2012 08:57:34 PM Alexander Neundorf wrote:
On Monday 07 May 2012, Mario Bensi wrote:
> Hi
>
> I try to add the version control in FindLibLZMA.cmake (Rolf Eike Beer ask
> me about this)
>
> The version is correctly parse and find_package return the good version but
> there is no error when i test with a wrong version and i don't find the
> mistake in FindLibLZMA.cmake
(without checking) I think the STRING(REGEX REPLACE...) just give you the
whole string if they don't match.
So, does putting something like
if("${LIBLZMA_HEADER_CONTENTS}" MATCHES "[0-9]+\.[0-9]+\.[0-9]+")
...
around the string(REGEX REPLACE ...) help ?
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20120522/a3fb4012/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FindLibLZMA.cmake
Type: text/x-cmake
Size: 3173 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20120522/a3fb4012/attachment.bin>
More information about the Kde-buildsystem
mailing list