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

0001 include(ECMMarkNonGuiExecutable)
0002 
0003 # We need to add a '6' so that kde3/kde4/kf5 apps running kbuildsycoca don't run this one.
0004 add_executable(kbuildsycoca6)
0005 
0006 # Mark it as non-gui so we won't create an app bundle on Mac OS X
0007 ecm_mark_nongui_executable(kbuildsycoca6)
0008 
0009 target_sources(kbuildsycoca6 PRIVATE
0010    kbuildsycoca_main.cpp
0011 )
0012 
0013 target_link_libraries(kbuildsycoca6
0014    KF6::Service
0015    KF6::CoreAddons # KAboutData
0016    KF6::I18n
0017    Qt6::Xml
0018 )
0019 install(TARGETS kbuildsycoca6 ${KF_INSTALL_TARGETS_DEFAULT_ARGS} )