[CMake] FindZLIB does not function on Windows systems

Matthieu Brucher matthieu.brucher at gmail.com
Sat Oct 7 17:04:00 EDT 2006


Hi,

I used to make by Makefiles with autotools for Linux, but as my programs
must support Windows and Linux, and that some of them use Qt4, I decided to
try CMake.
When I tried FIND_PACKAGE(ZLIB) on my system, Zlib couldn't be found, so I
checked in the .cmake file. The include and library files are searched only
in /usr/xx or /usr/local/xx, paths that cannot be used on Windows.
Is it possible to add CMAKE_LIBRARY_PATH and CMAKE_INCLUDE_PATH in the
FindZLIB.cmake on the repository so that it can work on Windows too ?

Matthieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20061007/f5f41302/attachment.html


More information about the CMake mailing list