cmake/zlib

Peter Kümmel syntheticpp at gmx.net
Thu Feb 9 17:51:49 CET 2006


Peter Kümmel wrote:
> cmake could not find zlib, when calling cmake.
> 
> I've set CMAKE_LIBRARY_PATH to the folder which
> contains zlib.lib and I've also added zlib to:
> FIND_LIBRARY(ZLIB_LIBRARY z zlib
> in FindZLIB.cmake.
> And I've also added the path to PATHS.
> 
> But nothing helps. Any ideas?

There is no PATH keyword in the FIND_LIBRARYPATH command!

Adding  PATHS fixes it.

Peter





More information about the Kde-buildsystem mailing list