D17567: TabSwitcherPlugin: Suppress CMP0063 warning with CMake >= 3.3

Christoph Cullmann noreply at phabricator.kde.org
Wed Dec 26 21:43:28 GMT 2018


cullmann closed this revision.
cullmann added a comment.


  Upsa, used wrong number :?)
  
  Git commit 02f20c0c18480a56ff9a6acf7d5bcfefc59e829d <https://phabricator.kde.org/R40:02f20c0c18480a56ff9a6acf7d5bcfefc59e829d> by Christoph Cullmann.
  Committed on 26/12/2018 at 21:42.
  Pushed by cullmann into branch 'master'.
  
  fix cmake warning
  
  Differential Revision: https://phabricator.kde.org/D17733
  
  M  +3    -22   addons/tabswitcher/tests/CMakeLists.txt
  
  https://commits.kde.org/kate/02f20c0c18480a56ff9a6acf7d5bcfefc59e829d
  
  diff --git a/addons/tabswitcher/tests/CMakeLists.txt b/addons/tabswitcher/tests/CMakeLists.txt
  index 82a66b5c2..df88775c9 100644
  
  - a/addons/tabswitcher/tests/CMakeLists.txt
  
  +++ b/addons/tabswitcher/tests/CMakeLists.txt
  @@ -1,22 +1,3 @@
  -cmake_minimum_required(VERSION 3.0.0)
  -project(tstestapp)
  
  -
    - Find includes in corresponding build directories
  
  -set(CMAKE_INCLUDE_CURRENT_DIR ON)
  
  - Instruct CMake to run moc automatically when needed.
  
  -set(CMAKE_AUTOMOC ON)
  
  -
    - Find the QtWidgets library
  
  -find_package(Qt5Widgets CONFIG REQUIRED)
  
  -
  
  -set(SRC
  
  - tstestapp.cpp
  - ../tabswitcherfilesmodel.cpp
  
  -)
  
  -
  
  -add_executable(tstestapp ${SRC})
  -target_link_libraries(tstestapp
  
  - Qt5::Widgets
  - KF5::TextEditor
  
  -)
  
  -
  
  +# small test for the tabswitches
  +add_executable(tstestapp tstestapp.cpp ../tabswitcherfilesmodel.cpp)
  +target_link_libraries(tstestapp KF5::TextEditor)

REPOSITORY
  R40 Kate

REVISION DETAIL
  https://phabricator.kde.org/D17567

To: loh.tar, #kate, cullmann
Cc: cullmann, dhaumann, kwrite-devel, #kate, hase, michaelh, ngraham, demsking, sars
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20181226/847cde69/attachment-0001.html>


More information about the KWrite-Devel mailing list