<table><tr><td style="">heikobecker created this revision.<br />heikobecker added a reviewer: Kate.<br />Restricted Application added a project: Kate.<br />Restricted Application added a subscriber: kwrite-devel.<br />heikobecker requested review of this revision.
</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/D14538">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Although ecm_optional_add_subdirectory(autotests) allows to skip<br />
building the autotests with -DBUILD_autotests=FALSE, it doesn't seem<br />
reasonable to have two options controlling similar behaviour and<br />
BUILD_TESTING is the de-facto standard for cmake and already used<br />
when discovering Qt5::Test.</p>
<p>Furthermore it avoids a cmake warning when BUILD_TESTING is set to<br />
FALSE because Qt5::Test is passed to target_link_libraries but<br />
isn't a valid target.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Warning disappears and builds successfully</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R40 Kate</div></div></div><br /><div><strong>BRANCH</strong><div><div>Applications/18.08</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D14538">https://phabricator.kde.org/D14538</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>addons/backtracebrowser/CMakeLists.txt<br />
addons/filetree/CMakeLists.txt<br />
addons/project/CMakeLists.txt<br />
kate/CMakeLists.txt</div></div></div><br /><div><strong>To: </strong>heikobecker, Kate<br /><strong>Cc: </strong>kwrite-devel, michaelh, kevinapavew, ngraham, demsking, cullmann, sars, dhaumann<br /></div>