On Monday 18 February 2013, Stephen Kelly wrote: > Alexander Neundorf wrote: > > I mean, even if FPHSA would set ExactCase_FOUND always by default, there > > still would be no guarantee at all that after a > > find_package(Foo) > > Foo_FOUND will be set, because as a user of that module I don't know > > whether it uses FPHSA or not. I have to read the documentation. > > If you want to set the text on a text-related Qt widget, there's no > guarantee that the method you want is setText. It usually deliberately is, > but you have to read the documentation to be sure :). > > Anyway, I don't agree with your conclusion,
I don't see where automatically setting ExactCase_FOUND improves over the current situation. Right now, as a user of a Find-module you can only rely on the variables as documented for each Find-module. With automatic setting, you still can only rely on the documented variables, since it is only a (to the user unknown) subset of Find-modules which additionally sets the undocumented ExactCase_FOUND variable. Would find_package(BZip2) set BZip2_FOUND with the patch ? Nobody can know without looking at the code of FindBZip2.cmake Alex -- 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