Warning, /network/kdeconnect-kde/kcmplugin/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 add_definitions(-DTRANSLATION_DOMAIN=\"kdeconnect-core\")
0002 
0003 add_library(kdeconnectpluginkcm kdeconnectpluginkcm.cpp)
0004 target_link_libraries(kdeconnectpluginkcm
0005 PUBLIC
0006     kdeconnectcore
0007     KF6::KCMUtils
0008 PRIVATE
0009     Qt::DBus
0010     Qt::Gui
0011     KF6::I18n
0012     KF6::ConfigCore
0013 )
0014 
0015 set_target_properties(kdeconnectpluginkcm PROPERTIES
0016     VERSION ${KDECONNECT_VERSION}
0017     SOVERSION ${KDECONNECT_VERSION_MAJOR}
0018 )
0019 
0020 generate_export_header(kdeconnectpluginkcm EXPORT_FILE_NAME kdeconnectpluginkcm_export.h BASE_NAME kdeconnectpluginkcm)
0021 
0022 # Remove NAMELINK_SKIP if/when headers are being installed and the library becomes public.
0023 install(TARGETS kdeconnectpluginkcm EXPORT kdeconnectLibraryTargets ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)