From 622816499d964fb9214a7c3e5820526788b4c124 Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Fri, 8 Feb 2019 17:45:36 +0100 Subject: Add moc dependency also to CorePrivate Otherwise if you start a make -j14 in src/sql without having built anything it would hang because sql only depends on CorePrivate and not Core and thus moc would not be build at the right time Change-Id: I916242782e6aea4a0491d870391f91182959ca7c Reviewed-by: Tobias Hunger --- src/corelib/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/corelib') diff --git a/src/corelib/CMakeLists.txt b/src/corelib/CMakeLists.txt index 7e1a788e22..ce341ff811 100644 --- a/src/corelib/CMakeLists.txt +++ b/src/corelib/CMakeLists.txt @@ -241,6 +241,8 @@ add_qt_module(Core add_dependencies(Core Qt::moc) add_dependencies(Core Qt::rcc) +add_dependencies(CorePrivate Qt::moc) +add_dependencies(CorePrivate Qt::rcc) configure_file(global/qconfig.cpp.in global/qconfig.cpp) -- cgit v1.2.3