Merge pull request #146898 from smancill/ZHF-darwin-hdr-plus

hdr-plus: fix build on darwin
This commit is contained in:
Ben Siraphob 2021-11-21 13:07:34 -05:00 committed by GitHub
commit 70d632f32a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -22,6 +22,10 @@ stdenv.mkDerivation rec {
})
];
postPatch = ''
sed -i '2a #include <array>' src/InputSource.h
'';
nativeBuildInputs = [ cmake ];
buildInputs = [ halide libpng libjpeg libtiff libraw ];