On 01.10.08 18:18:07, Brad King wrote: > Andreas Pakulat wrote: > > On 01.10.08 23:59:51, Alexander Neundorf wrote: > >> Yes, I think your third option is what I would prefer: the package > >> installs a > >> FooConfig.cmake file with all the necessary information and macros, and > >> then > >> we need only a quite simple FindFoo.cmake to find and load this file. > > > > Leaves me with two questions: > > a) a simple find_file( FooConfig.cmake )+include( FooConfig.cmake ) is what > > you mean with "simple FindFoo.cmake"? Why not leave that to cmake and > > instead uses the Config-Mode of find_package? > > The intention of the find_package config-mode is to avoid FindFoo.cmake > altogether.
Ok, then I guess I'll opt for the config-mode of FindFoo.cmake, unless Alex comes up with a compelling reason not to do that (like bugs in CMake 2.6.0)... Andreas -- You will be aided greatly by a person whom you thought to be unimportant. _______________________________________________ Kde-buildsystem mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-buildsystem
