Commit 2b7975d7 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: switch to KDECompilerSettings + CMAKE_CXX_STANDARD already setted

parent 93dd5e65
Pipeline #74844 canceled with stage
...@@ -24,7 +24,6 @@ include(ECMGeneratePriFile) ...@@ -24,7 +24,6 @@ include(ECMGeneratePriFile)
include(KDEInstallDirs) include(KDEInstallDirs)
include(KDECMakeSettings) include(KDECMakeSettings)
set(KDE_COMPILERSETTINGS_LEVEL 5.85.0)
include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE) include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
include(ECMAddAppIcon) include(ECMAddAppIcon)
include(ECMQtDeclareLoggingCategory) include(ECMQtDeclareLoggingCategory)
...@@ -116,8 +115,6 @@ include_directories(${knotes_SOURCE_DIR} ${knotes_BINARY_DIR}) ...@@ -116,8 +115,6 @@ include_directories(${knotes_SOURCE_DIR} ${knotes_BINARY_DIR})
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050e00) add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050e00)
add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055600) add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055600)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
configure_file(knotes-version.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/knotes-version.h @ONLY) configure_file(knotes-version.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/knotes-version.h @ONLY)
if(BUILD_TESTING) if(BUILD_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