KDE/kdemultimedia

Alexander Neundorf neundorf at kde.org
Sun Jan 28 21:46:17 CET 2007


On Sunday 28 January 2007 12:24, Matthias Kretz wrote:
> On Sunday 28 January 2007 11:25, Tim Beaulen wrote:
> > Disable JuK from compiling, it conflicts with TagLib
>
> You mean that both taglib and JuK have an include called tag.h? Even though
> juk uses #include <tag.h> it picks up the one from juk and not the one from
> taglib (you'd expect that if it were using #include "tag.h"). For my system
> an easy workaround is to change the include to <taglib/tag.h> since the
> file is in /usr/include/taglib/tag.h.
>
> Is there something we can do on the cmake side to make it include the
> correct header or is it unfixable with an out of source build?

We could simply do 
find_path(TAGLIB_INCLUDE_DIR NAMES taglib/tag.h )
and then use what this returns.
This will then return /usr/include/ instead of /usr/include/taglib/, but then 
all files where this is included.
Including taglib/tag.h would definitely be better than including just tag.h

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list