Warning, /frameworks/kio/src/kiod/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 include(ECMMarkNonGuiExecutable)
0002 
0003 add_executable(kiod5)
0004 
0005 target_sources(kiod5 PRIVATE
0006     kiod_main.cpp
0007 )
0008 
0009 if (APPLE)
0010     target_sources(kiod5 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(kiod5
0024    KF5::KIOCore     # ksslcertificatemanager
0025    KF5::DBusAddons  # kdedmodule
0026    KF5::CoreAddons  # kpluginfactory
0027    Qt${QT_MAJOR_VERSION}::Network
0028    Qt${QT_MAJOR_VERSION}::DBus
0029    Qt${QT_MAJOR_VERSION}::Widgets     # QApplication
0030 )
0031 
0032 if (APPLE)
0033     target_link_libraries(kiod5 "-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(kiod5)
0037 endif ()
0038 
0039 install(TARGETS kiod5 DESTINATION ${KDE_INSTALL_LIBEXECDIR_KF})
0040 
0041 kdbusaddons_generate_dbus_service_file(kiod5 org.kde.kiod5 ${KDE_INSTALL_FULL_LIBEXECDIR_KF})
0042