Commit 0756f97f authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Adapt build system for building against qt6

parent e5f55ca2
Pipeline #121293 passed with stage
in 42 seconds
......@@ -49,7 +49,7 @@ set(KDEPIM_LIB_VERSION "${PIM_VERSION}")
set(KDEPIM_LIB_SOVERSION "5")
set(QT_REQUIRED_VERSION "5.15.2")
find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets)
find_package(Qt${QT_MAJOR_VERSION} ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets)
# Find KF5 package
......
......@@ -34,7 +34,7 @@ ecm_qt_declare_logging_category(konsolekalendar
)
target_link_libraries(konsolekalendar
Qt::DBus
Qt${QT_MAJOR_VERSION}::DBus
KF5::CalendarUtils
KF5::CalendarCore
KF5::CalendarSupport
......
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