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