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
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to