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

GIT_SILENT: switch to KDECompilerSettings + CMAKE_CXX_STANDARD already setted

parent ec368279
Pipeline #74903 passed with stage
in 5 minutes and 59 seconds
......@@ -10,8 +10,7 @@ set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
include(KDEInstallDirs)
include(KDECMakeSettings)
set(KDE_COMPILERSETTINGS_LEVEL 5.85.0)
include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
include(KDECompilerSettings NO_POLICY_SCOPE)
include(GenerateExportHeader)
include(ECMGenerateHeaders)
......@@ -59,8 +58,6 @@ option(KDEPIM_RUN_AKONADI_TEST "Enable autotest based on Akonadi." ON)
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00)
add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055600)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
if(BUILD_TESTING)
find_package(Qt5Test CONFIG REQUIRED)
add_definitions(-DBUILD_TESTING)
......
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