Commit 4730cb4f authored by Laurent Montel's avatar 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
......@@ -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.14.0")
set (QT_MIN_VERSION "5.15.0")
set (KF5_MIN_VERSION "5.80.0")
find_package (ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
......
......@@ -14,7 +14,7 @@ include_directories(
add_library(testCore STATIC testUtil.cpp testResources.qrc )
target_link_libraries(testCore PUBLIC
Qt5::Test
Qt::Test
ksystemlog_lib
ksystemlog_base_mode
ksystemlog_config
......
......@@ -50,8 +50,8 @@ add_dependencies(
target_link_libraries(ksystemlog_lib
ksystemlog_config
Qt5::Widgets
Qt5::PrintSupport
Qt::Widgets
Qt::PrintSupport
KF5::I18n
KF5::Archive
KF5::ConfigWidgets
......
......@@ -29,6 +29,6 @@ target_link_libraries(
ksystemlog_base_mode
ksystemlog_config
${JOURNALD_LIBRARIES}
Qt5::Concurrent
Qt5::Network
Qt::Concurrent
Qt::Network
)
Markdown is supported
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