Warning, /graphics/kooka/plugins/destination/application/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 ##########################################################################
0002 ##                                                                      ##
0003 ##  This CMake file is part of Kooka, a KDE scanning/OCR application.   ##
0004 ##                                                                      ##
0005 ##  This file may be distributed and/or modified under the terms of     ##
0006 ##  the GNU General Public License version 2, as published by the       ##
0007 ##  Free Software Foundation and appearing in the file COPYING          ##
0008 ##  included in the packaging of this file.                             ##
0009 ##                                                                      ##
0010 ##  Author:  Jonathan Marten <jjm AT keelhaul DOT me DOT uk>            ##
0011 ##                                                                      ##
0012 ##########################################################################
0013 
0014 project(kooka5)
0015 
0016 #########################################################################
0017 #                                                                       #
0018 #  Additional dependencies for this plugin                              #
0019 #                                                                       #
0020 #########################################################################
0021 
0022 find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS Service)
0023 
0024 #########################################################################
0025 #                                                                       #
0026 #  Destination plugin to open the scan with an application              #
0027 #                                                                       #
0028 #########################################################################
0029 
0030 set(destinationapplication_SRCS
0031   destinationapplication.cpp
0032   ${kookadestination_LOG_SRCS}
0033 )
0034 
0035 kcoreaddons_add_plugin(destinationapplication SOURCES ${destinationapplication_SRCS} INSTALL_NAMESPACE "kooka_destination")
0036 
0037 kcoreaddons_desktop_to_json(destinationapplication kookadestination-application.desktop)
0038 target_link_libraries(destinationapplication Qt::Core Qt::Widgets)
0039 target_link_libraries(destinationapplication KF5::I18n KF5::WidgetsAddons KF5::Service)
0040 target_link_libraries(destinationapplication kookadestination kookacore kookascan)