Commit fb350032 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Use versionless Qt cmake target

This makes it easier to build against both Qt5 and Qt6

GIT_SILENT
parent bc807606
......@@ -55,12 +55,12 @@ qt5_add_dbus_interface(xdg_desktop_portal_kde_SRCS ../data/org.freedesktop.Accou
add_executable(xdg-desktop-portal-kde ${xdg_desktop_portal_kde_SRCS})
target_link_libraries(xdg-desktop-portal-kde
Qt5::Core
Qt5::DBus
Qt5::Concurrent
Qt5::PrintSupport
Qt5::QuickWidgets
Qt5::Widgets
Qt::Core
Qt::DBus
Qt::Concurrent
Qt::PrintSupport
Qt::QuickWidgets
Qt::Widgets
KF5::CoreAddons
KF5::ConfigCore
KF5::Declarative
......
......@@ -12,8 +12,8 @@ set(filepicker_lib_SRCS
add_library(KirigamiFilepicker STATIC ${filepicker_lib_SRCS})
target_include_directories(KirigamiFilepicker PRIVATE declarative)
target_link_libraries(KirigamiFilepicker
Qt5::Quick
Qt5::Qml
Qt::Quick
Qt::Qml
KF5::I18n
KF5::KIOCore
KF5::KIOFileWidgets
......
Supports Markdown
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