[cmake-developers] Nightly Binary not building on windows

Bill Hoffman bill.hoffman at kitware.com
Tue Feb 28 14:09:00 EST 2012


On 2/28/2012 1:57 PM, Brad King wrote:
> On 2/28/2012 1:53 PM, Bill Hoffman wrote:
>> No matter what
>>
>> find_package(foo)
>>
>> Can not cause an error at CMake time.
>
> That isn't the line causing the error. It's the AllFindModules test
> that wants to know that the returned version information is as expected.
> This is a real test failure because the FindSubversion module is not
> properly detecting the version number of svn. The Find module needs
> to be fixed for this case.
>
> -Brad
>
I disagree... :)

The test does this:
   message(STATUS "module: ${module}")
   include("${module}")

That should not error out if it finds a bad version of software that 
gives a bogus version string.  I thought you could include any module 
and not get a cmake error at configure time unless you set required.


-Bill



More information about the cmake-developers mailing list