<table><tr><td style="">cullmann closed this revision.<br />cullmann 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/D17567">View Revision</a></tr></table><br /><div><div><p>Upsa, used wrong number :?)</p>
<p>Git commit <a href="https://phabricator.kde.org/R40:02f20c0c18480a56ff9a6acf7d5bcfefc59e829d" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">02f20c0c18480a56ff9a6acf7d5bcfefc59e829d</a> by Christoph Cullmann.<br />
Committed on 26/12/2018 at 21:42.<br />
Pushed by cullmann into branch 'master'.</p>
<p>fix cmake warning</p>
<p>Differential Revision: <a href="https://phabricator.kde.org/D17733" class="remarkup-link" target="_blank" rel="noreferrer">https://phabricator.kde.org/D17733</a></p>
<p>M +3 -22 addons/tabswitcher/tests/CMakeLists.txt</p>
<p><a href="https://commits.kde.org/kate/02f20c0c18480a56ff9a6acf7d5bcfefc59e829d" class="remarkup-link" target="_blank" rel="noreferrer">https://commits.kde.org/kate/02f20c0c18480a56ff9a6acf7d5bcfefc59e829d</a></p>
<p>diff --git a/addons/tabswitcher/tests/CMakeLists.txt b/addons/tabswitcher/tests/CMakeLists.txt<br />
index 82a66b5c2..df88775c9 100644</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">a/addons/tabswitcher/tests/CMakeLists.txt</li>
</ul>
<p>+++ b/addons/tabswitcher/tests/CMakeLists.txt<br />
@@ -1,22 +1,3 @@<br />
-cmake_minimum_required(VERSION 3.0.0)<br />
-project(tstestapp)</p>
<ul class="remarkup-list">
<li class="remarkup-list-item"><ul class="remarkup-list">
<li class="remarkup-list-item">Find includes in corresponding build directories</li>
</ul></li>
</ul>
<p>-set(CMAKE_INCLUDE_CURRENT_DIR ON)</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">Instruct CMake to run moc automatically when needed.</li>
</ul>
<p>-set(CMAKE_AUTOMOC ON)</p>
<ul class="remarkup-list">
<li class="remarkup-list-item"><ul class="remarkup-list">
<li class="remarkup-list-item">Find the QtWidgets library</li>
</ul></li>
</ul>
<p>-find_package(Qt5Widgets CONFIG REQUIRED)</p>
<ul class="remarkup-list">
<li class="remarkup-list-item"></li>
</ul>
<p>-set(SRC</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">tstestapp.cpp</li>
<li class="remarkup-list-item">../tabswitcherfilesmodel.cpp</li>
</ul>
<p>-)</p>
<ul class="remarkup-list">
<li class="remarkup-list-item"></li>
</ul>
<p>-add_executable(tstestapp ${SRC})<br />
-target_link_libraries(tstestapp</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">Qt5::Widgets</li>
<li class="remarkup-list-item">KF5::TextEditor</li>
</ul>
<p>-)</p>
<ul class="remarkup-list">
<li class="remarkup-list-item"></li>
</ul>
<p>+# small test for the tabswitches<br />
+add_executable(tstestapp tstestapp.cpp ../tabswitcherfilesmodel.cpp)<br />
+target_link_libraries(tstestapp KF5::TextEditor)</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R40 Kate</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D17567">https://phabricator.kde.org/D17567</a></div></div><br /><div><strong>To: </strong>loh.tar, Kate, cullmann<br /><strong>Cc: </strong>cullmann, dhaumann, kwrite-devel, Kate, hase, michaelh, ngraham, demsking, sars<br /></div>