Warning, /frameworks/kparts/templates/kparts6-app/src/part/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 add_definitions(-DTRANSLATION_DOMAIN=\"%{APPNAMELC}part\")
0002 
0003 add_library(%{APPNAMELC}part MODULE)
0004 
0005 target_sources(%{APPNAMELC}part PRIVATE
0006     %{APPNAMELC}part.cpp
0007     # handled by CMake's AUTORCC, as set by KDECMakeSettings
0008     %{APPNAMELC}part.qrc
0009 )
0010 
0011 target_link_libraries(%{APPNAMELC}part
0012     KF6::I18n
0013     KF6::Parts
0014 )
0015 
0016 install(TARGETS %{APPNAMELC}part  DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf6/parts)