Make CMake macro kcoreaddons_desktop_to_json() work on windows.

Review Request #126618 - Created Jan. 3, 2016 and submitted - Latest diff uploaded

Information
Kåre Särs
kcoreaddons
Reviewers
kdeframeworks
Without this patch kcoreaddons_desktop_to_json() will not find the service type destop file.

On windows GenericDataLocation returns "C:/Users/<USER>/AppData/Local" or "C:/ProgramData". That is not a path that contains any destop files ;)

This patch adds KDE_INSTALL_FULL_KSERVICETYPES5DIR as fist item in the search paths and if not found searches like before.
KTextEditor compiles on windows
Loading...