diff options
author | Albert Astals Cid <albert.astals.cid@kdab.com> | 2019-02-08 17:45:36 +0100 |
---|---|---|
committer | Albert Astals Cid <albert.astals.cid@kdab.com> | 2019-02-11 10:01:38 +0000 |
commit | 622816499d964fb9214a7c3e5820526788b4c124 (patch) | |
tree | e80005882ad80114b6cb7dac7e530093e14eeafe /src | |
parent | f88e78fd198c8bbc527da2e7426a010580f18c9f (diff) |
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 <tobias.hunger@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
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) |