<table><tr><td style="">heikobecker created this revision.<br />Restricted Application added a project: KWin.<br />Restricted Application added subscribers: kwin, plasma-devel.
</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/D7784" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>CXX_STANDARD is only available since 3.1.<br />
$ git show 913394af2: cmTarget: Add CXX_STANDARD and CXX_EXTENSION...<br />
$ git tag --contains 205215fb8 | head -n: v3.1.0</p>
<p>3.1 also has CMakePackageConfigHelpers (available since 3.0),<br />
allowing to drop ECMPackageConfigHelpers (it actually fixes a CMake<br />
warning when requiring >=3.0).</p>
<p>Furthermore move cmake_minimum_required(VERSION 3.1 FATAL_ERROR) to<br />
the top of CMakeLists.txt like suggested by CMake's documentation.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>cmake .. & ninja</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R108 KWin</div></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/D7784" rel="noreferrer">https://phabricator.kde.org/D7784</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>CMakeLists.txt</div></div></div><br /><div><strong>To: </strong>heikobecker, KWin, Plasma<br /><strong>Cc: </strong>plasma-devel, kwin, bwowk, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart<br /></div>