[cmake-developers] Target usage requirements and conventions
Alexander Neundorf
neundorf at kde.org
Thu May 3 13:25:51 EDT 2012
On Thursday 03 May 2012, Stephen Kelly wrote:
> Alexander Neundorf wrote:
...
> > So, I don't see any need for automatically invoking find_package() from
> > some other command. Calling find_package() is something people should be
> > used to, it shouldn't be hard for them. Hiding it in some other commmands
> > IMO would be good maybe for the lazy programmers, but not for
> > maintainability. E.g. you have start deciding/explaining when to use
> > find_package() and when not.
>
> Long term it's easy: You should never use find_package except for cases
> where the package is unconventional and target_use_package doesn't work.
This is really the first time that I hear that deprecating find_package() is
the long term goal.
Why should this be a goal ?
Alex
More information about the cmake-developers
mailing list