3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #68388 from alyssais/appleseed

appleseed: fix build
This commit is contained in:
Linus Heckemann 2019-09-13 18:47:17 +02:00 committed by GitHub
commit 39ee74629c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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"