aboutsummaryrefslogtreecommitdiff
path: root/pkgs/tools/graphics
diff options
context:
space:
mode:
authorLinus Heckemann <git@sphalerite.org>2019-09-13 18:47:17 +0200
committerGitHub <noreply@github.com>2019-09-13 18:47:17 +0200
commit39ee74629cf552b17f25fc5d21c42e5a2de26b4d (patch)
treed5e88daa7d92f202820b6df5d5e49481a95336d7 /pkgs/tools/graphics
parent2b921136f0b31b36ee94cec3158b0507b1e89d85 (diff)
parent5617881a42bd23eb58ae9538c7b9e4da2a128877 (diff)
Merge pull request #68388 from alyssais/appleseed
appleseed: fix build
Diffstat (limited to 'pkgs/tools/graphics')
-rw-r--r--pkgs/tools/graphics/appleseed/default.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/tools/graphics/appleseed/default.nix b/pkgs/tools/graphics/appleseed/default.nix
index 87686108720..d7603c42fca 100644
--- a/pkgs/tools/graphics/appleseed/default.nix
+++ b/pkgs/tools/graphics/appleseed/default.nix
@@ -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"