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 '5' so that kde3/kde4 apps running kbuildsycoca don't run this one. 0004 add_executable(kbuildsycoca5) 0005 0006 # Mark it as non-gui so we won't create an app bundle on Mac OS X 0007 ecm_mark_nongui_executable(kbuildsycoca5) 0008 0009 target_sources(kbuildsycoca5 PRIVATE 0010 kbuildsycoca_main.cpp 0011 ) 0012 0013 target_link_libraries(kbuildsycoca5 0014 KF5::Service 0015 KF5::CoreAddons # KAboutData 0016 KF5::I18n 0017 Qt${QT_MAJOR_VERSION}::Xml 0018 ) 0019 install(TARGETS kbuildsycoca5 ${KF_INSTALL_TARGETS_DEFAULT_ARGS} )