LuaDist/libmysql — Issue #1: Any luck enabling both zlib and OpenSSL dependencies?
Author: luislavena
Created: 2012-02-05 20:48:29+00:00
State: open

Hello,

Thank you for taking the time to update the CMake options of libmysql (known as MySQL Connector/C)

I've tried several times to enable Zlib support (`-DWITH_EXTERNAL_ZLIB`) and combine it with `ZLIB_LIBRARY` and `ZLIB_INCLUDE_DIR` all without success.

libmysql remains building it's private copy of zlib.

The full command line I've used was:

```
V:\libmysql\build>cmake .. -G "MSYS Makefiles" -DCMAKE_COLOR_MAKEFILE=OFF -DCMAKE_INSTALL_PREFIX=V:/installed/libmysql/6.0.2 -DZLIB_LIBRARY:FILEPATH=V:/Knapsack/x86-windows/lib/libz.dll.a -DZLIB_INCLUDE:PATH=V:/Knapsack/x86-windows/include
```

Where:

`V:\libmysql` is the clone of this repository
`V:/Knapsack/x86-windows` contains a POSIX-like directory structure.

When enabling OpenSSL it completely fails, so not enabled if for this testing and left taocrypt on instead.

Any idea?

Thank you.