[CMake] FindZLIB.cmake

Peter Kümmel syntheticpp at gmx.net
Thu Jun 8 08:26:49 EDT 2006


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)


The naming of zlib  from zlib.net for
windows is zdll.lib:

- set(POTENTIAL_Z_LIBS z zlib)
+ set(POTENTIAL_Z_LIBS z zlib zdll)



CMAKE:
Is the kdelibs version a candidate for the
official cmake release?


Peter


More information about the CMake mailing list