[CMake] Telling CMake to use zlibConfig.cmake instead of the Findzlib.cmake

Doug Henry develop at brilligent.com
Thu Oct 26 08:37:44 EDT 2006


I have not seen a repo for cmake files like that, but I have a feeling there
are cmake build files for zlib, png, etc in the VTK source (vtk.org).

On 10/25/06, Luigi Calori <l.calori at cineca.it> wrote:
>
> Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote:
>
> >       Hi,
> >
> >       On Windows side, I built a zlib library and created
> >a zlibConfig.cmake to go with it. The zlibConfig.cmake
> >contains the zlib_DEFINITIONS, zlib_LIBRARIES, zlib_INCLUDE_DIRS
> >so I don't have to worry
> >Now, in another project that uses zlib, FIND_PACKAGE(zlib)
> >uses Findzlib.cmake that comes with CMake. How can
> >I force it to use my zlibConfig.cmake instead?
> >
> >
> >--
> >Artur Kedzierski
> >
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >CMake mailing list
> >CMake at cmake.org
> >http://www.cmake.org/mailman/listinfo/cmake
> >
> I have a similar need to build/use zlib under windows, do you have a
> CMake to build? I would be interested to try it
> Thanks in advance
>
> P.S.
>       are there repositories of CMake projects for common usage
> libraries such as zlib, jpeg,tiff
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20061026/bf7f2fe9/attachment-0001.html


More information about the CMake mailing list