mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
poppler: fix build on darwin
This commit is contained in:
parent
beaf69cee2
commit
2a68c2c413
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user