Warning, /system/kup/dataengine/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 #this is a library so it needs to enforce it's translation domain, not use the application's domain. 0006 add_definitions(-DTRANSLATION_DOMAIN="kup") 0007 include_directories("../daemon") 0008 0009 # Plasma Data Engine 0010 set(plasma_engine_kup_SRCS 0011 kupengine.cpp 0012 kupservice.cpp 0013 kupjob.cpp 0014 ) 0015 add_library(plasma_engine_kup MODULE ${plasma_engine_kup_SRCS}) 0016 target_link_libraries(plasma_engine_kup 0017 Qt::Network 0018 ) 0019 0020 if(QT_MAJOR_VERSION STREQUAL "6") 0021 target_link_libraries(plasma_engine_kup Plasma::Plasma5Support Plasma::Plasma) 0022 else() 0023 target_link_libraries(plasma_engine_kup KF5::Plasma) 0024 endif() 0025 0026 install(TARGETS plasma_engine_kup DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/dataengine) 0027 install(FILES kupservice.operations kupdaemonservice.operations DESTINATION ${PLASMA_DATA_INSTALL_DIR}/services) 0028