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
System
KSystemLog
Commits
4730cb4f
Commit
4730cb4f
authored
Mar 26, 2021
by
Laurent Montel
😁
Browse files
Use versionless Qt cmake target. This makes it easier to build against both Qt5 and Qt6
parent
7d452fa0
Pipeline
#55539
passed with stage
in 12 minutes and 4 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
4730cb4f
...
...
@@ -8,7 +8,7 @@ set (RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE
project
(
KSystemlog VERSION
${
RELEASE_SERVICE_VERSION
}
)
set
(
QT_MIN_VERSION
"5.1
4
.0"
)
set
(
QT_MIN_VERSION
"5.1
5
.0"
)
set
(
KF5_MIN_VERSION
"5.80.0"
)
find_package
(
ECM
${
KF5_MIN_VERSION
}
REQUIRED NO_MODULE
)
...
...
autotests/CMakeLists.txt
View file @
4730cb4f
...
...
@@ -14,7 +14,7 @@ include_directories(
add_library
(
testCore STATIC testUtil.cpp testResources.qrc
)
target_link_libraries
(
testCore PUBLIC
Qt
5
::Test
Qt::Test
ksystemlog_lib
ksystemlog_base_mode
ksystemlog_config
...
...
src/lib/CMakeLists.txt
View file @
4730cb4f
...
...
@@ -50,8 +50,8 @@ add_dependencies(
target_link_libraries
(
ksystemlog_lib
ksystemlog_config
Qt
5
::Widgets
Qt
5
::PrintSupport
Qt::Widgets
Qt::PrintSupport
KF5::I18n
KF5::Archive
KF5::ConfigWidgets
...
...
src/modes/journald/CMakeLists.txt
View file @
4730cb4f
...
...
@@ -29,6 +29,6 @@ target_link_libraries(
ksystemlog_base_mode
ksystemlog_config
${
JOURNALD_LIBRARIES
}
Qt
5
::Concurrent
Qt
5
::Network
Qt::Concurrent
Qt::Network
)
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