openjpeg: multiple outputs

This commit is contained in:
Thomas Tuegel 2016-04-25 06:51:15 -05:00
parent 668f93c719
commit b06f9aa015

View File

@ -25,12 +25,14 @@ in
stdenv.mkDerivation rec {
name = "openjpeg-${version}";
src = fetchurl {
url = "mirror://sourceforge/openjpeg.mirror/${version}/openjpeg-${version}.tar.gz";
inherit sha256;
};
outputs = [ "dev" "out" ];
cmakeFlags = [
"-DCMAKE_INSTALL_NAME_DIR=\${CMAKE_INSTALL_PREFIX}/lib"
"-DBUILD_SHARED_LIBS=ON"