arx-libertatis: fix build

This commit is contained in:
Kranium Gikos Mendoza 2016-08-22 16:41:30 +08:00
parent a28ca06298
commit 8d8208c771

View File

@ -18,9 +18,11 @@ stdenv.mkDerivation rec {
optipng imagemagick
];
preConfigure = ''
cmakeFlags="-DDATA_DIR_PREFIXES=$out/share"
'';
cmakeFlags = [
"-DDATA_DIR_PREFIXES=$out/share"
"-DImageMagick_convert_EXECUTABLE=${imagemagick.out}/bin/convert"
"-DImageMagick_mogrify_EXECUTABLE=${imagemagick.out}/bin/mogrify"
];
enableParallelBuilding = true;