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