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