scribusUnstable: fix build with latest poppler

Poppler 22.01.0 requires std=c++17:

https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/1027

It will be enforced in next release:

0b1abeff08
This commit is contained in:
Jan Tojnar 2022-01-27 17:23:13 +01:00
parent d8bcc674c4
commit 46c427535a

View file

@ -83,6 +83,11 @@ mkDerivation rec {
qttools
];
cmakeFlags = [
# poppler uses std::optional
"-DWANT_CPP17=ON"
];
meta = with lib; {
maintainers = with maintainers; [
erictapen