Commit d4d9c45b 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 1be504c6
macro(KHOTKEYS_UNIT_TESTS)
foreach(_testname ${ARGN})
kde4_add_unit_test(${_testname} NOGUI ${_testname}.cpp)
target_link_libraries(${_testname} khotkeysprivate Qt5::Test)
target_link_libraries(${_testname} khotkeysprivate Qt::Test)
endforeach(_testname)
endmacro(KHOTKEYS_UNIT_TESTS)
......
......@@ -97,7 +97,7 @@ target_link_libraries(
KF5::KIOWidgets
KF5::TextWidgets
KF5::KDELibs4Support
Qt5::Gui
Qt::Gui
${X11_X11_LIB}
)
......
......@@ -73,7 +73,7 @@ add_library(khotkeysprivate SHARED ${khotkeysprivate_SRCS})
# Not exported, so just make all links PUBLIC
target_link_libraries(khotkeysprivate PUBLIC
PW::KWorkspace
Qt5::X11Extras
Qt::X11Extras
KF5::GlobalAccel
KF5::I18n
KF5::KIOCore
......
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