Commit 85d43fc5 authored by Igor Kushnir's avatar Igor Kushnir
Browse files

Use C++17 to compile kdev-python

KDevelop uses this standard since
https://commits.kde.org/kdevelop/f2925b5c6dc258def26c5f6d6d11433f896452c1

Its plugins must follow suit or they won't compile once C++17 features
make it into kdevplatform headers.
parent ad9ac451
......@@ -4,6 +4,9 @@ project(kdevpython VERSION 5.6.40)
# KDevplatform dependency version
set(KDEVPLATFORM_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}")
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED YES)
find_package (ECM "5.28.0" REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${kdevpython_SOURCE_DIR}/cmake/modules ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH})
......
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