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
Education
KGeography
Commits
7ef837ae
Commit
7ef837ae
authored
Nov 19, 2021
by
Albert Astals Cid
Browse files
Increase cmake and kf5 requirements a bit
parent
b04ff55f
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
7ef837ae
cmake_minimum_required
(
VERSION 3.1
3
FATAL_ERROR
)
cmake_minimum_required
(
VERSION 3.1
6
FATAL_ERROR
)
# KDE Application Version, managed by release script
set
(
RELEASE_SERVICE_VERSION_MAJOR
"22"
)
...
...
@@ -10,7 +10,7 @@ project(kgeography VERSION ${RELEASE_SERVICE_VERSION})
# minimal Qt requirement
set
(
QT_MIN_VERSION
"5.12.0"
)
# Remember to update the QT_DEPRECATED_WARNINGS_SINCE below
set
(
KF5_REQUIRED_VERSION
"5.6
2
.0"
)
# Remember to update the KF_DEPRECATED_WARNINGS_SINCE below
set
(
KF5_REQUIRED_VERSION
"5.6
8
.0"
)
# Remember to update the KF_DEPRECATED_WARNINGS_SINCE below
# ECM
find_package
(
ECM
${
KF5_REQUIRED_VERSION
}
REQUIRED NO_MODULE
)
...
...
@@ -35,7 +35,7 @@ include(ECMSetupVersion)
add_definitions
(
-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS
)
add_definitions
(
-DQT_NO_URL_CAST_FROM_STRING
)
add_definitions
(
-DQT_DEPRECATED_WARNINGS_SINCE=0x050C00
)
add_definitions
(
-DKF_DEPRECATED_WARNINGS_SINCE=0x05
3E
00
)
add_definitions
(
-DKF_DEPRECATED_WARNINGS_SINCE=0x05
44
00
)
# global include directories
include_directories
(
${
CMAKE_CURRENT_BINARY_DIR
}
)
...
...
Write
Preview
Markdown
is supported
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