Warning, /plasma/discover/libdiscover/backends/FwupdBackend/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 add_definitions( -DPROJECT_NAME=${PROJECT_NAME} -DPROJECT_VERSION=${PROJECT_VERSION}) 0002 0003 set(fwupd-backend_SRCS 0004 FwupdResource.cpp 0005 FwupdBackend.cpp 0006 FwupdTransaction.cpp 0007 FwupdSourcesBackend.cpp 0008 ) 0009 0010 add_library(fwupd-backend MODULE ${fwupd-backend_SRCS}) 0011 target_link_libraries(fwupd-backend Qt::Core KF6::CoreAddons KF6::ConfigCore Discover::Common PkgConfig::Fwupd) 0012 if (Fwupd_VERSION VERSION_LESS 1.5.8) 0013 target_compile_definitions(fwupd-backend PRIVATE -DFWUPD_EXTERNC_REQUIRED) 0014 endif() 0015 0016 install(TARGETS fwupd-backend DESTINATION ${KDE_INSTALL_PLUGINDIR}/discover) 0017