Unverified Commit 4905a365 authored by Luca Beltrame's avatar Luca Beltrame
Browse files

Fix race condition

kcfg/kscreensaversettingsbase.kcfgc is used for two different targets:

- kscreenlocker library
- kscreenlocker_greet

Only one of the two is actually asking to create the moc, so when
building in parallel, the moc may need to be included, but would not be
created yet, causing build failures.
parent bd5cc573
......@@ -61,6 +61,8 @@ if(HAVE_SECCOMP)
target_link_libraries(kscreenlocker_greet Qt5::DBus Seccomp::Seccomp)
add_dependencies(kscreenlocker_greet KScreenLocker)
install(DIRECTORY themes/org.kde.passworddialog DESTINATION ${KDE_INSTALL_DATADIR}/ksmserver/screenlocker)
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