Commit d4a54909 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use KDECompilerSettings, kf5.85 defines CMAKE_CXX_STANDARD 17 directly

parent d5d9b12f
Pipeline #77225 passed with stage
in 8 minutes and 58 seconds
......@@ -14,9 +14,6 @@ project(elisa
VERSION ${RELEASE_SERVICE_VERSION}
LANGUAGES CXX)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_STANDARD 17)
set(REQUIRED_QT_VERSION "5.15.0")
find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Core Network Qml Quick Test Sql Multimedia Svg Gui Widgets QuickTest Concurrent QuickControls2)
......@@ -29,7 +26,7 @@ set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake" ${ECM_MODULE_PATH})
include(KDEInstallDirs)
include(KDECMakeSettings)
include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
include(KDECompilerSettings NO_POLICY_SCOPE)
include(ECMInstallIcons)
include(FeatureSummary)
include(ECMAddAppIcon)
......
Supports Markdown
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