Skip to content

Fix dependency on KF5NewStuff for project addon

e5846e30 introduced changes related to this, and added the following to the snippets addon:

if(NOT KF${KF_MAJOR_VERSION}NewStuff_FOUND)
  return()
endif()

However, the module seems to be called KF6MoreTools on KF6, so I turned this into a check that fails if neither KF5NewStuff nor KF6MoreTools are found for the projects addon.

I can also submit a MR to change this for the snippets addon if this change seems correct.

Merge request reports