summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CHURLAUD <[email protected]>2018-11-23 16:07:02 +0100
committerOlivier CHURLAUD <[email protected]>2018-11-23 16:07:02 +0100
commitc9cf4883da4eccdb5140b9c20ddf5bb0288394ff (patch)
tree0bf5e3be99b9691de01a18e2a7302577f50c171a
parented3f246d3b6e6cde3a80b9a9a8e074d818b9fd98 (diff)
Avoid indeterminism in kcolorschemeeditor's compilation
Without this patch, build/kcms/colors/CMakeFiles/kcolorschemeeditor.dir/kcolorschemeeditor_autogen/mocs_compilation.cpp.o and the resulting /usr/bin/kcolorschemeeditor varied from parallelism. See https://reproducible-builds.org/ for why this matters. See also https://bugzilla.opensuse.org/show_bug.cgi?id=1109420 Pushed on behalf of bmwiedemann (Bernhard M. Wiedemann) Differential Revision: https://phabricator.kde.org/D17076
-rw-r--r--kcms/colors/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/kcms/colors/CMakeLists.txt b/kcms/colors/CMakeLists.txt
index 6355ac6..00f1d92 100644
--- a/kcms/colors/CMakeLists.txt
+++ b/kcms/colors/CMakeLists.txt
@@ -70,6 +70,7 @@ ki18n_wrap_ui(kcm_colors_SRCS
setpreview.ui)
add_library(kcm_colors MODULE ${kcm_colors_SRCS})
+add_dependencies(kcm_colors kcolorschemeeditor)
target_link_libraries(kcm_colors
KF5::KCMUtils
KF5::GuiAddons