Warning, /pim/kdepim-addons/plugins/messageviewerconfigureplugins/openurlwith/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: 2022-2024 Laurent Montel <montel@kde.org> 0002 # SPDX-License-Identifier: BSD-3-Clause 0003 kcoreaddons_add_plugin(messageviewer_openurlwithconfigplugin INSTALL_NAMESPACE pim6/messageviewer/configuresettings) 0004 target_sources(messageviewer_openurlwithconfigplugin PRIVATE 0005 openurlwithconfigplugin.cpp 0006 openurlwithconfigplugin.h 0007 ) 0008 0009 0010 target_link_libraries(messageviewer_openurlwithconfigplugin 0011 KPim6::MessageViewer 0012 KF6::I18n 0013 KF6::KIOWidgets 0014 openurlwithconfigure 0015 ) 0016 0017 0018 add_library(openurlwithconfigure) 0019 target_sources(openurlwithconfigure PRIVATE 0020 openurlwithconfiguredialog.h 0021 openurlwithconfiguredialog.cpp 0022 openurlwithconfigurewidget.h 0023 openurlwithconfigurewidget.cpp 0024 openurlwith_private_export.h 0025 openurlwithconfigurecreatedialog.h 0026 openurlwithconfigurecreatedialog.cpp 0027 openurlwithconfigurecreatewidget.h 0028 openurlwithconfigurecreatewidget.cpp 0029 ) 0030 0031 ecm_qt_declare_logging_category(openurlwithconfigure HEADER libopenurlwithconfigure_debug.h IDENTIFIER LIBOPENURLWITHCONFIGURE_PLUGIN_LOG 0032 CATEGORY_NAME org.kde.pim.libopenurlwithconfigureplugin 0033 DESCRIPTION "kdepim-addons (open url with plugin)" 0034 EXPORT KDEPIMADDONS 0035 ) 0036 0037 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT) 0038 set_target_properties(openurlwithconfigure PROPERTIES UNITY_BUILD ON) 0039 endif() 0040 0041 generate_export_header(openurlwithconfigure BASE_NAME libopenurlwithconfigure) 0042 target_link_libraries(openurlwithconfigure 0043 KF6::I18n 0044 KPim6::MessageViewer 0045 KF6::KIOWidgets 0046 KF6::ItemViews 0047 KPim6::Libkdepim 0048 ) 0049 0050 set_target_properties(openurlwithconfigure 0051 PROPERTIES OUTPUT_NAME openurlwithconfigure VERSION ${KDEPIMADDONS_LIB_VERSION} SOVERSION ${KDEPIMADDONS_LIB_SOVERSION} 0052 ) 0053 0054 install(TARGETS openurlwithconfigure ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP) 0055 if(BUILD_TESTING) 0056 add_subdirectory(autotests) 0057 endif()