poppler: fix build on darwin

This commit is contained in:
Dmitry Kalinkin 2019-01-08 21:45:23 -05:00
parent beaf69cee2
commit 2a68c2c413

View File

@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ninja pkgconfig ]; nativeBuildInputs = [ cmake ninja pkgconfig ];
# Not sure when and how to pass it. It seems an upstream bug anyway. # Not sure when and how to pass it. It seems an upstream bug anyway.
CXXFLAGS = stdenv.lib.optionalString stdenv.cc.isClang "-std=c++11"; CXXFLAGS = stdenv.lib.optionalString stdenv.cc.isClang "-std=c++14";
cmakeFlags = [ cmakeFlags = [
(mkFlag true "XPDF_HEADERS") (mkFlag true "XPDF_HEADERS")