appleseed: fix build

This commit is contained in:
Alyssa Ross 2019-09-09 22:14:34 +00:00
parent a80eef922d
commit 5617881a42
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0

View File

@ -24,7 +24,16 @@ in stdenv.mkDerivation rec {
osl seexpr makeWrapper
];
NIX_CFLAGS_COMPILE = "-I${openexr.dev}/include/OpenEXR -I${ilmbase.dev}/include/OpenEXR -I${openimageio.dev}/include/OpenImageIO -Wno-unused-but-set-variable";
NIX_CFLAGS_COMPILE = [
"-I${openexr.dev}/include/OpenEXR"
"-I${ilmbase.dev}/include/OpenEXR"
"-I${openimageio.dev}/include/OpenImageIO"
"-Wno-unused-but-set-variable"
"-Wno-error=class-memaccess"
"-Wno-error=maybe-uninitialized"
"-Wno-error=catch-value"
];
cmakeFlags = [
"-DUSE_EXTERNAL_XERCES=ON" "-DUSE_EXTERNAL_OCIO=ON" "-DUSE_EXTERNAL_OIIO=ON"