[cmake-developers] User vs CMake include mismatch handling

Alexander Neundorf neundorf at kde.org
Tue Oct 12 12:40:38 EDT 2010


On Tuesday 12 October 2010, Marcus D. Hanwell wrote:
> On Mon, Oct 11, 2010 at 5:00 PM, Alexander Neundorf <neundorf at kde.org>wrote:
...
> > Personally, I would try a rc3 with CMP0017 set to NEW and see how it
> > goes. It works for kdelibs and for our project at work (which doesn't
> > have a lot of
> > fancy cmake stuff).
> >
> If it is just that one file why not go with the simple solution? I would
> love to see a policy where includes in the same directory would be
> considered first, and then the normal search behavior. I wasn't sure how
> feasible this was in an rc3. Avogadro effectively copied what KDE was
> doing, and so maybe the issue is not that widespread.

I don't have the avogadro sources here.
What does it do, i.e. what did it copy from KDE ?
Does it a
find_package(KDE4) ?

Or does it include its own version of FindPackageHandleStandardArgs.cmake ?

Alex



More information about the cmake-developers mailing list