--- a/tools/CMakeLists.txt
+++ b/tools/CMakeLists.txt
@@ -3,6 +3,7 @@
 
 add_executable(kcmdesktopfilegenerator kcmmetadatagenerator.cpp)
 add_executable(KF5::kcmdesktopfilegenerator ALIAS kcmdesktopfilegenerator )
+set_target_properties(kcmdesktopfilegenerator PROPERTIES OUTPUT_NAME kcmdesktopfilegenerator5)
 target_link_libraries(kcmdesktopfilegenerator Qt::Core)
 
 set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KF5KCMUtils")
