Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KNotes
Commits
2b7975d7
Commit
2b7975d7
authored
Aug 14, 2021
by
Laurent Montel
😁
Browse files
GIT_SILENT: switch to KDECompilerSettings + CMAKE_CXX_STANDARD already setted
parent
93dd5e65
Pipeline
#74844
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
2b7975d7
...
...
@@ -24,7 +24,6 @@ include(ECMGeneratePriFile)
include
(
KDEInstallDirs
)
include
(
KDECMakeSettings
)
set
(
KDE_COMPILERSETTINGS_LEVEL 5.85.0
)
include
(
KDEFrameworkCompilerSettings NO_POLICY_SCOPE
)
include
(
ECMAddAppIcon
)
include
(
ECMQtDeclareLoggingCategory
)
...
...
@@ -116,8 +115,6 @@ include_directories(${knotes_SOURCE_DIR} ${knotes_BINARY_DIR})
add_definitions
(
-DQT_DISABLE_DEPRECATED_BEFORE=0x050e00
)
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
)
if
(
BUILD_TESTING
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment