[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdesupport/strigi/cmake
From:       "Jos van den Oever" <jvdoever () gmail ! com>
Date:       2007-10-11 21:00:29
Message-ID: c2dbc4260710111400o7a368a87ib7ab4e68359b25a6 () mail ! gmail ! com
[Download RAW message or body]

Hi Laurent,

Why would you want to override the CPPUNIT_MIN_VERSION? Can you give
an example and maybe add some explanation in the code. I've really no
clue why you would want to do this.

Cheers,
Jos

2007/10/11, Laurent Montel <montel@kde.org>:
> SVN commit 724259 by mlaurent:
>
> Allow to overwrite CPPUNIT_MIN_VERSION
>
>
>  M  +3 -1      FindCppUnit.cmake
>
>
> --- trunk/kdesupport/strigi/cmake/FindCppUnit.cmake #724258:724259
> @@ -7,7 +7,9 @@
>
>  include (MacroEnsureVersion)
>
> -SET(CPPUNIT_MIN_VERSION 1.12.0)
> +if(NOT CPPUNIT_MIN_VERSION)
> +  SET(CPPUNIT_MIN_VERSION 1.12.0)
> +endif(NOT CPPUNIT_MIN_VERSION)
>
>  FIND_PROGRAM(CPPUNIT_CONFIG_EXECUTABLE cppunit-config )
>
>
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic