On Friday 05 September 2008, Yann Cointepas wrote: > 1) Why do I need Foo_FIND_QUIET in FooConfig.cmake ? > First, I would like to display a message with the Foo version found if > QUIET is not used. > > 2) Why do I need Foo_FIND_REQUIRED in FooConfig.cmake ? > FooConfig.cmake will be packaged and installed on various systems (in a > Foo-devel package). Therefore, even if FooConfig.cmake is found, I need to > check that its mandatory dependencies are found too before setting > Foo_FOUND. For instance, I have a mandatory dependency on Boost and I would > like to have the following code in FooConfig.cmake:
Ok, this makes sense. Hint: it's "foo_FIND_QUIETLY", not "foo_FIND_QUIET". Brad, any objections to set these two variables always, also in Config mode ? If not I can do that if you're not faster. Alex _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake