madler/zlib — pull request #15 by qtip (2012-04-03 14:33:39+00:00)
Title: CMakeLists.txt fixes for linux

When I tried to add zlib as an external project on linux like so:

```
ExternalProject_add( zlib
GIT_REPOSITORY git://github.com/madler/zlib.git
GIT_TAG develop
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${CMAKE_CURRENT_BINARY_DIR}/zlib-install
)
```

I got a couple of errors which I've fixed in this pull request.

```c
#define ZLIB_VERSION "1.2.7-motley"
```

wasn't getting parsed correctly with the current regex.

Also,

```
-Wl,--version-script,zlib.map
```

wasn't finding zlib.map, which may have to do with it being an "external project".