Warning, /graphics/kooka/plugins/ocr/gocr/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 #  OCR plugin for GOCR                                                  #
0019 #                                                                       #
0020 #########################################################################
0021 
0022 set(ocrgocr_SRCS
0023   ocrgocrengine.cpp
0024   ocrgocrdialog.cpp
0025   ${kookaocr_LOG_SRCS}
0026 )
0027 
0028 kcoreaddons_add_plugin(ocrgocr SOURCES ${ocrgocr_SRCS} INSTALL_NAMESPACE "kooka_ocr")
0029 
0030 kcoreaddons_desktop_to_json(ocrgocr kookaocr-gocr.desktop)
0031 
0032 target_link_libraries(ocrgocr Qt::Core Qt::Gui)
0033 target_link_libraries(ocrgocr KF5::I18n KF5::WidgetsAddons)
0034 target_link_libraries(ocrgocr kookaocr kookascan)
0035 
0036 install(FILES gocr.png DESTINATION ${PICS_INSTALL_DIR})