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

Alan W. Irwin irwin at beluga.phys.uvic.ca
Wed Oct 25 21:23:05 EDT 2006


> 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?

SET CMAKE_MODULE_PATH.  That variable is documented in
http://www.cmake.org/HTML/Documentation.html and also
http://www.cmake.org/Wiki/CMake_Useful_Variables .

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the
Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________


More information about the CMake mailing list