poco: propagate dependencies imported by CMake scripts

This also requires enable multiple outputs to prevent the closure size from
increasing.
This commit is contained in:
Ben Wolsieffer 2020-09-17 19:21:19 -04:00
parent 8f41eda98b
commit 2122017a11

View file

@ -31,7 +31,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ zlib pcre expat sqlite openssl unixODBC libmysqlclient ];
buildInputs = [ openssl unixODBC libmysqlclient ];
propagatedBuildInputs = [ zlib pcre expat sqlite ];
outputs = [ "out" "dev" ];
MYSQL_DIR = libmysqlclient;
MYSQL_INCLUDE_DIR = "${MYSQL_DIR}/include/mysql";