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

Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA artur.kedzierski at navy.mil
Wed Oct 25 19:08:34 EDT 2006


	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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4670 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20061025/4136770e/smime-0001.bin


More information about the CMake mailing list