Commit 7dc863ad authored by Nicolas Fella's avatar Nicolas Fella Committed by Elvis Angelaccio
Browse files

Require C++17

Not only does C++17 bring many nice things, it also will be required
with Qt6.

Many KDE projects already require 17 without issues.
parent 3184c270
Pipeline #50352 canceled with stage
......@@ -10,6 +10,9 @@ project(Dolphin VERSION ${RELEASE_SERVICE_VERSION})
set(QT_MIN_VERSION "5.14.0")
set(KF5_MIN_VERSION "5.77.0")
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
# ECM setup
find_package(ECM ${KF5_MIN_VERSION} CONFIG REQUIRED)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake)
......
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