<table><tr><td style="">apol created this revision.<br />apol added a reviewer: Frameworks.
</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/D3226" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Fallback on trying the same filename as the actual file.<br />
There were some regressions due to the former matching expression:<br />
string(REGEX REPLACE "^(.*\n)?File=([^\n]+kcfg).*\n.*$" "\\2"  _kcfg_FILENAME "${_contents}")</p>

<p>This one would allow for the File field to be the kcfgc file (which doesn't<br />
make sense).<br />
With this patch we're not reproducing this behaviour, but we're allowing for the<br />
things that aren't building to work. After all, most kcfg and kcfgc files share<br />
the same name.</p></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D3226" rel="noreferrer">https://phabricator.kde.org/D3226</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>KF5ConfigMacros.cmake</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>apol, Frameworks<br /></div>