Verified Commit dfae7770 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

Enable C++17 for AkonadiConsole

It links against some internal Akonadi API and since
Akonadi is using C++17 in its internal API, AC must
use it too.
parent 6904a994
......@@ -2,6 +2,11 @@ cmake_minimum_required(VERSION 3.5)
set(PIM_VERSION "5.14.40")
project(akonadiconsole VERSION ${PIM_VERSION})
# Needs C++17 because Akonadi uses it and we link
# against its private API
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(KF5_MIN_VERSION "5.68.0")
find_package(ECM ${KF5_MIN_VERSION} CONFIG REQUIRED)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment