Comments - Link MariaDB Client Library for C with specific external zlib and openssl

10 years, 3 months ago Thomas Riccardi

What I was looking for is

cmake -DZLIB_ROOT=$ZLIB_ROOT -DOPENSSL_ROOT_DIR=$OPENSSL_ROOT

But since OPENSSL_ROOT_DIR is broken, it doesn't work.

There is however a standard variable for that for all modules:

cmake -DCMAKE_PREFIX_PATH=$ZLIB_ROOT\;$OPENSSL_ROOT
 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.