mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
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:
parent
8f41eda98b
commit
2122017a11
@ -31,7 +31,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ cmake pkg-config ];
|
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_DIR = libmysqlclient;
|
||||||
MYSQL_INCLUDE_DIR = "${MYSQL_DIR}/include/mysql";
|
MYSQL_INCLUDE_DIR = "${MYSQL_DIR}/include/mysql";
|
||||||
|
Loading…
Reference in New Issue
Block a user