Warning, /frameworks/krunner/src/declarative/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: KDE contributors 0002 # SPDX-License-Identifier: BSD-2-Clause 0003 project(runnermodel) 0004 0005 # we depend on deprecated Qt API, however the QML plugin is deprecated and not worth porting 0006 remove_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x50f02) 0007 0008 add_library(runnermodelplugin SHARED) 0009 0010 target_sources(runnermodelplugin PRIVATE 0011 runnermodel.cpp 0012 runnermodel.h 0013 runnermodelplugin.cpp 0014 runnermodelplugin.h 0015 ) 0016 0017 ecm_qt_declare_logging_category(runnermodelplugin 0018 HEADER krunner_debug.h 0019 IDENTIFIER KRUNNER 0020 CATEGORY_NAME kf.runner.quick 0021 ) 0022 0023 target_link_libraries(runnermodelplugin 0024 Qt${QT_MAJOR_VERSION}::Quick 0025 Qt${QT_MAJOR_VERSION}::Qml 0026 Qt${QT_MAJOR_VERSION}::Widgets # QAction 0027 KF5::I18n 0028 KF5::Service 0029 KF5Runner 0030 ) 0031 0032 install(TARGETS runnermodelplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/runnermodel) 0033 install(FILES qmldir DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/runnermodel) 0034