Set CXX standard for crossbuilding utility

This commit is contained in:
Andreas Cord-Landwehr 2023-02-12 08:31:06 +01:00
parent 150137b299
commit 484d2da046
2 changed files with 2 additions and 0 deletions

View file

@ -3,6 +3,7 @@
if (${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_SOURCE_DIR})
cmake_minimum_required(VERSION 3.16)
project(qtwaylandscanner_kde CXX)
set(CMAKE_CXX_STANDARD 20)
find_package(Qt5 5.15.0 CONFIG REQUIRED Core)
find_package(ECM ${KF5_MIN_VERSION} NO_MODULE REQUIRED)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})

View file

@ -42,6 +42,7 @@
#include <QXmlStreamReader>
#include <vector>
#include <utility>
class Scanner
{