Commit 0a5e7031 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 14e74ad2
......@@ -64,8 +64,8 @@ add_executable( kmenuedit ${kmenuedit_KDEINIT_SRCS})
target_compile_definitions(kmenuedit PRIVATE -DPROJECT_VERSION="${PROJECT_VERSION}")
target_link_libraries(kmenuedit
Qt5::DBus
Qt5::Xml
Qt::DBus
Qt::Xml
KF5::DBusAddons
KF5::GlobalAccel
KF5::I18n
......
add_executable(kmenuedit_globalaccel globalaccel.cpp ../globalaccel.cpp)
target_link_libraries(kmenuedit_globalaccel Qt5::DBus KF5::ConfigCore KF5::GlobalAccel KF5::I18n KF5::Service)
target_link_libraries(kmenuedit_globalaccel Qt::DBus KF5::ConfigCore KF5::GlobalAccel KF5::I18n KF5::Service)
install(TARGETS kmenuedit_globalaccel DESTINATION ${KDE_INSTALL_LIBDIR}/kconf_update_bin)
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