Warning, /frameworks/kio/src/kiod/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 include(ECMMarkNonGuiExecutable)
0002
0003 add_executable(kiod6)
0004
0005 target_sources(kiod6 PRIVATE
0006 kiod_main.cpp
0007 )
0008
0009 if (APPLE)
0010 target_sources(kiod6 PRIVATE
0011 kiod_agent.mm
0012 )
0013 endif()
0014
0015 ecm_qt_export_logging_category(
0016 IDENTIFIER KIOD_CATEGORY
0017 CATEGORY_NAME kf.kio.kiod
0018 OLD_CATEGORY_NAMES kf5.kiod
0019 DESCRIPTION "KIO Daemon (KIO)"
0020 EXPORT KIO
0021 )
0022
0023 target_link_libraries(kiod6
0024 KF6::KIOCore # ksslcertificatemanager
0025 KF6::DBusAddons # kdedmodule
0026 KF6::CoreAddons # kpluginfactory
0027 Qt6::Network
0028 Qt6::DBus
0029 Qt6::Widgets # QApplication
0030 )
0031
0032 if (APPLE)
0033 target_link_libraries(kiod6 "-framework AppKit -framework CoreFoundation")
0034
0035 # Mark it as non-gui so we won't create an app bundle on Mac OS X
0036 ecm_mark_nongui_executable(kiod6)
0037 endif ()
0038
0039 install(TARGETS kiod6 DESTINATION ${KDE_INSTALL_LIBEXECDIR_KF})
0040
0041 kdbusaddons_generate_dbus_service_file(kiod6 org.kde.kiod6 ${KDE_INSTALL_FULL_LIBEXECDIR_KF})
0042