Warning, /system/kup/kioworker/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2020 Simon Persson <simon.persson@mykolab.com>
0002 #
0003 # SPDX-License-Identifier: GPL-2.0-or-later
0004 
0005 set(bupworker_SRCS
0006 bupworker.cpp
0007 bupvfs.cpp
0008 vfshelpers.cpp
0009 )
0010 
0011 ecm_qt_declare_logging_category(bupworker_SRCS
0012     HEADER kupkio_debug.h
0013     IDENTIFIER KUPKIO
0014     CATEGORY_NAME kup.kio
0015     DEFAULT_SEVERITY Warning
0016     EXPORT kup
0017     DESCRIPTION "Kup KIO worker for bup"
0018 )
0019 
0020 add_library(kio_bup MODULE ${bupworker_SRCS})
0021 target_link_libraries(kio_bup
0022 Qt::Core
0023 KF${QT_MAJOR_VERSION}::KIOCore
0024 KF${QT_MAJOR_VERSION}::I18n
0025 LibGit2::LibGit2
0026 )
0027 
0028 install(TARGETS kio_bup DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf${QT_MAJOR_VERSION}/kio)
0029 
0030 add_definitions(-fexceptions)