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 __________________________ _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
