sundials: Split outputs for examples
This commit is contained in:
parent
da3f98c5c5
commit
12c9f363f4
1 changed files with 2 additions and 1 deletions
|
@ -31,6 +31,7 @@ stdenv.mkDerivation rec {
|
|||
++ stdenv.lib.optionals (kluSupport) [
|
||||
suitesparse
|
||||
];
|
||||
outputs = [ "out" "examples" ];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
|
@ -48,7 +49,7 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DEXAMPLES_INSTALL_PATH=${placeholder "out"}/share/examples"
|
||||
"-DEXAMPLES_INSTALL_PATH=${placeholder "examples"}/share/examples"
|
||||
] ++ stdenv.lib.optionals (lapackSupport) [
|
||||
"-DENABLE_LAPACK=ON"
|
||||
"-DLAPACK_LIBRARIES=${lapack}/lib/liblapack${stdenv.hostPlatform.extensions.sharedLibrary}"
|
||||
|
|
Loading…
Reference in a new issue