···11+22+Fix "No known features for CXX compiler", see
33+https://cmake.org/pipermail/cmake/2016-December/064733.html and the note at
44+https://cmake.org/cmake/help/v3.10/command/cmake_minimum_required.html
55+--- a/CMakeLists.txt
66++++ b/CMakeLists.txt
77+@@ -8,7 +8,7 @@
88+ #
99+ #========================================================================
1010+1111+-cmake_minimum_required(VERSION 2.8.8)
1212++cmake_minimum_required(VERSION 3.1.0)
1313+1414+ project(xpdf)
1515+
+5
pkgs/applications/misc/xpdf/default.nix
···1717 sha256 = "1mhn89738vjva14xr5gblc2zrdgzmpqbbjdflqdmpqv647294ggz";
1818 };
19192020+ # Fix "No known features for CXX compiler", see
2121+ # https://cmake.org/pipermail/cmake/2016-December/064733.html and the note at
2222+ # https://cmake.org/cmake/help/v3.10/command/cmake_minimum_required.html
2323+ patches = stdenv.lib.optional stdenv.isDarwin ./cmake_version.patch;
2424+2025 nativeBuildInputs = [ cmake ];
21262227 cmakeFlags = ["-DSYSTEM_XPDFRC=/etc/xpdfrc" "-DA4_PAPER=ON"];