head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2023.08.03.04.45.30; author markd; state dead; branches; next 1.1; commitid DDnfGYZMJMCQsizE; 1.1 date 2023.07.09.20.31.46; author wiz; state Exp; branches; next ; commitid RCqqKrcVYkIjvawE; desc @@ 1.2 log @okular: KDE Gear update to 23.04.3 10 months of development @ text @$NetBSD: patch-CMakeLists.txt,v 1.1 2023/07/09 20:31:46 wiz Exp $ poppler-qt5 needs c++17 for std::optional. --- CMakeLists.txt.orig 2022-09-04 20:26:23.000000000 +0000 +++ CMakeLists.txt @@@@ -93,7 +93,7 @@@@ elseif(WIN32) set(ENV{QT_PLUGIN_PATH} "$ENV{QT_PLUGIN_PATH};${KDE_INSTALL_FULL_QTPLUGINDIR}") endif() -set(CMAKE_CXX_STANDARD 14) +set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) @ 1.1 log @okular: fix build with latest poppler-qt5 which needs c++17 now @ text @d1 1 a1 1 $NetBSD$ @