FindZLIB.cmake

David Faure faure at kde.org
Thu Jun 8 16:21:12 CEST 2006


On Thursday 08 June 2006 14:26, Peter Kümmel wrote:
> Why does the kdelibs version of
> FindZLIB.cmake only test for the
> header?
> 
> 
> Shouldn't it be:
> 
> - IF (ZLIB_INCLUDE_DIR)
> + IF (ZLIB_INCLUDE_DIR AND ZLIB_LIBRARY)
>    SET(ZLIB_FOUND TRUE)

I wonder if that's because the libz symbols could be part of Qt, on systems where
qt isn't compiled with -system-zlib.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).



More information about the Kde-buildsystem mailing list