summaryrefslogtreecommitdiffstats
path: root/Modules/FindZLIB.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Use absolute path to FindPackageHandleStandardArgs.cmake everywhereAlex Neundorf2010-09-281-1/+1
| | | | | | | This is to avoid getting an (older) copy of FPHSA.cmake which is e.g. installed with KDE 4.5.0 and 4.5.1. Alex
* Fix ZLIB version parsing if no TWEAK version existsAlex Neundorf2010-08-141-2/+7
| | | | | | | | | | ZLIB_VERSION_STRING was "1.2.3.#define ZLIB_VERSION "1.2.3"" here, because the result of the matching for the tweak version was also appended if there was no TWEAK version and the regexp failed, which gives as result not an empty string, but the full string. Now it is only appended if the regexp matches. Alex
* Merge topic 'module-header-spelling'Brad King2010-08-101-1/+1
|\ | | | | | | | | 2cde67a Modules: Fix spelling 'To distributed' -> 'To distribute'
| * Modules: Fix spelling 'To distributed' -> 'To distribute'Todd Gamblin2010-08-091-1/+1
| |
* | FindZLIB: use the FPHSA version modeKovarththanan Rajaratnam2010-08-041-15/+2
|/ | | | Remove our implementation of version checking and instead use FPHSA()
* FindZLIB: optimize zlib.h version parsingKovarththanan Rajaratnam2010-07-311-7/+39
| | | | | | Read zlib.h by using file(STRINGS.....REGEX) to limit the amount of text we apply the version regex on. This patch also addresses the fact that the version string may contain a tweak component. Patch by Simone Rossetto
* Fix performance issue with getting version from zlib.hClinton Stimpson2010-06-241-1/+1
| | | | | | | Some zlib.h files have ZLIB_VERSION "1.2.3.3" with 4 numbers instead of 3. The regex is changed to grab the first 3 numbers. It was slow because if it failed to find that string near the top of the file, where it usually is, it would read the entire file.
* FindZLIB: make sure zlib.h exists before reading itKovarththanan Rajaratnam2010-05-131-1/+1
|
* FindZLIB: only set INCLUDE_DIRECTORIES/LIBRARIES if zlib is foundKovarththanan Rajaratnam2010-04-171-5/+6
|
* FindZLIB: add support for version handling (fixes #5588)Kovarththanan Rajaratnam2010-04-111-3/+13
| | | | This change depends on the fix for #9414 which should land very soon.
* FindZLIB: add support for GnuWin32 (fixes #5588)Kovarththanan Rajaratnam2010-04-111-2/+9
|
* FindZLIB: FindPackageHandleStandardArgs already contains the quiet handlingKovarththanan Rajaratnam2010-04-111-7/+2
|
* STYLE: respect convention (while being backward compat)Mathieu Malaterre2009-10-301-11/+9
|
* Convert CMake find-modules to BSD LicenseBrad King2009-09-281-0/+12
| | | | | | | This adds copyright/license notification blocks CMake's find-modules. Many of the modules had no notices at all. Some had notices referring to the BSD license already. This commit normalizes existing notices and adds missing notices.
* ENH: add second failure message parameter toAlexander Neundorf2007-07-231-1/+1
| | | | | | | | FIND_PACKAGE_HANDLE_STANDARD_ARGS(), so cmake modules can specify their own better failure messages. If the default is ok use "DEFAULT_MSG". Do this also for FindBoost.cmake (#5349) Alex
* ENH: use the new FIND_PACKAGE_HANDLE_STANDARD_ARGS in some of the FindXXXAlexander Neundorf2007-07-181-29/+12
| | | | | | | modules, remove some of the extra search paths which are also searched by default Alex
* BUG: don't append to ZLIB_NAMESAlexander Neundorf2006-06-091-10/+28
| | | | | | | ENH: also check for zdll on windows ENH: honor REQUIRED and QUIETLY Alex
* ENH: Removing platform-specific name hacks now that FIND_LIBRARY handles it.Brad King2006-02-091-4/+0
|
* ENH: Added names for gnuwin32 library versions.Brad King2006-02-091-3/+8
|
* ENH: add documentation support for modulesBill Hoffman2005-12-141-4/+4
|
* ENH: clean up some stuffBill Hoffman2005-09-081-0/+5
|
* ENH: Removing extra 64-bit search paths. They are now constructed ↵Brad King2005-04-071-1/+0
| | | | automatically from the paths listed.
* ENH: Adding support for 64-bit library paths. Contributed by Peter Vanroose.Brad King2005-04-071-0/+1
|
* This file should not be emptyIan Scott2002-09-021-0/+23
|
* Moved FindZLib.cmake to FindZLIB.cmakeIan Scott2002-09-021-0/+0