<table><tr><td style="">rakuco added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D10450" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>Per my previous comment, I still don't see how changing this to a target would solve anything.</p>

<p>For one, the <a href="https://gitlab.kitware.com/cmake/cmake/blob/v3.10.2/Source/cmQtAutoGeneratorInitializer.cxx#L897" class="remarkup-link" target="_blank" rel="noreferrer">CMake implementation</a> allows both files and targets to be specified there.</p>

<p>Additionally, this would just add a different kind of dependency to <tt style="background: #ebebeb; font-size: 13px;">kcm_lookandfeel</tt>, but not change <tt style="background: #ebebeb; font-size: 13px;">lookandfeel</tt>'s dependencies -- the problem persists if target B depends on a source file that target A depends on, but only target A depends on the generation of a file that this source file depends on.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R244 KCoreAddons</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D10450" rel="noreferrer">https://phabricator.kde.org/D10450</a></div></div><br /><div><strong>To: </strong>tcberner, FreeBSD, mpyne, bshah, dfaure, rakuco<br /><strong>Cc: </strong>rikmills, rakuco, kfunk, adridg, kossebau, Frameworks, michaelh<br /></div>