poco: support MySQL

This commit is contained in:
Orivej Desh 2018-05-04 19:11:45 +00:00
parent 5786a8ec99
commit 91b092986b

View File

@ -14,6 +14,9 @@ stdenv.mkDerivation rec {
buildInputs = [ zlib pcre expat sqlite openssl unixODBC mysql.connector-c ];
MYSQL_DIR = mysql.connector-c;
MYSQL_INCLUDE_DIR = "${MYSQL_DIR}/include/mysql";
cmakeFlags = [
"-DPOCO_UNBUNDLED=ON"
];