Stricter compatibility checking for GIF dependency

Paulo Moura Guedes moura at kdewebdev.org
Tue May 30 21:34:21 CEST 2006


On Tuesday 30 May 2006 19:57, William A. Hoffman wrote:
> At 02:26 PM 5/30/2006, Paulo Jorge Guedes wrote:
> >Ok, thanks, I already commited a fix (CC'ed to this mailing list):
> >
> >if (GIF_INCLUDE_DIR AND GIF_LIBRARIES)
> >+   set(CMAKE_REQUIRED_INCLUDES "${GIF_INCLUDE_DIR}"
> >+ "${CMAKE_REQUIRED_INCLUDES}")
> >    CHECK_STRUCT_MEMBER(GifFileType UserData gif_lib.h GIF_FOUND)  endif
> > (GIF_INCLUDE_DIR AND GIF_LIBRARIES)
>
> Looks like the LIBRARY_PATH needs to be changed too:

There is still some problem, not sure if it's the library not being found 
though. Hard to tell with no Mac to try.

I just remembered, the continuous build removes the cache? I needed to remove 
it on my PC...

Paulo

> (from the dashboard and the Mac build:
> -- Looked for GIF libraries named gif;libgif;ungif;libungif;giflib.
> -- Found no acceptable GIF library. This is fatal.
> Could NOT find GIF


More information about the Kde-buildsystem mailing list