Unverified Commit 60798106 authored by Luca Beltrame's avatar Luca Beltrame
Browse files

Fix another race condition

Same as before: the KCM requires a moc which is not generated by itself,
and during parallel builds, it may not yet be done. Adding an explicit
dependency on the library (which is the one which generates the moc)
fixes the issue.
parent 4905a365
......@@ -15,6 +15,8 @@ qt5_add_dbus_interface(screenlocker_kcm_SRCS ../dbus/org.kde.screensaver.xml scr
add_library(kcm_screenlocker MODULE ${screenlocker_kcm_SRCS})
add_dependencies(kscreenlocker_greet KScreenLocker)
target_link_libraries(kcm_screenlocker
Qt5::DBus
KF5::Declarative
......
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