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
Utilities
KCharSelect
Commits
97a3f79e
Commit
97a3f79e
authored
Sep 24, 2020
by
Laurent Montel
😁
Browse files
We depend against kf5.56
parent
b6eeb4d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
97a3f79e
...
...
@@ -8,8 +8,8 @@ set(RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_
project
(
kcharselect VERSION
${
RELEASE_SERVICE_VERSION
}
)
set
(
QT_MIN_VERSION
"5.
9
.0"
)
set
(
KF5_MIN_VERSION
"5.
4
6.0"
)
set
(
QT_MIN_VERSION
"5.
12
.0"
)
set
(
KF5_MIN_VERSION
"5.
5
6.0"
)
find_package
(
ECM
${
KF5_MIN_VERSION
}
REQUIRED NO_MODULE
)
set
(
CMAKE_MODULE_PATH
${
ECM_MODULE_PATH
}
)
...
...
@@ -37,18 +37,12 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
ecm_setup_version
(
${
RELEASE_SERVICE_VERSION
}
VARIABLE_PREFIX KCHARSELECT VERSION_HEADER kcharselect_version.h
)
if
(
KF5Config_VERSION VERSION_GREATER
"5.56.0"
)
add_definitions
(
-DQT_NO_FOREACH
)
MESSAGE
(
STATUS
"compile without foreach"
)
endif
()
add_definitions
(
-DQT_NO_FOREACH
)
set
(
kcharselect_SRCS kcharselectdia.cc main.cc
)
qt5_add_resources
(
kcharselect_SRCS kcharselect.qrc
)
#kde4_add_app_icon(kcharselect_SRCS "${KDE4_INSTALL_DIR}/share/icons/oxygen/*/apps/accessories-character-map.png")
add_executable
(
kcharselect
${
kcharselect_SRCS
}
)
target_link_libraries
(
kcharselect
...
...
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