We need to fix this for the next release: tarme.rb adds another ki18n_install(po) which fails when building in-source. We already to ki18n_install(${CMAKE_CURRENT_BINARY_DIR}/po) which is apparently redundand with this. I think changing what we have to ki18n_install(po) should fix it, but that needs to be tested.
FWIW, the error is: CMake Error at /usr/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18NMacros.cmake:106 (add_custom_target): add_custom_target cannot create target "pofiles-87081f8658e1165a0eb2e837919d3d28" because another target with the same name already exists. The existing target is a custom target created in source directory "/home/kfunk/Downloads/kdevelop-5.2.0". See documentation for policy CMP0002 for more details. Call Stack (most recent call first): CMakeLists.txt:168 (ki18n_install)
I'll fix this tomorrow or so.
Git commit 021cac878711a768735a336f7ff1784fd318a1b3 by Kevin Funk. Committed on 16/11/2017 at 00:00. Pushed by kfunk into branch '5.2'. Fix in-source build of release tarball With this change, .mo files are still installed (after one did `make fetch-translations`) FIXED-IN: 5.2.1 M +1 -1 CMakeLists.txt https://commits.kde.org/kdevelop/021cac878711a768735a336f7ff1784fd318a1b3