https://bugs.kde.org/show_bug.cgi?id=357428
--- Comment #4 from MaxiPunkt <maxantis...@freenet.de> --- With a subdir added as suggested, during compilation CMake now complains: > add_custom_target cannot create target "BLA_BLA" because another target with > the same > name already exists. The existing target is a custom target created in > source directory > ... > ... > See documentation for policy CMP0002 for more details." Adding "cmake_policy(SET CMP0002 OLD)" doesn't help. I still don't get the logic behind all this. Looking at other code-examples: 1) http://download.kde.org/stable/kronometer/2.1.0/src/kronometer-2.1.0.tar.xz 2) http://download.kde.org/stable/ktorrent/5.0/ktorrent-5.0.1.tar.xz These projects include translated PO's => simplified directory-structure (w/o CMakeLists.txt in subdirs) => "ki18n_install()" is used in CMakeLists.txt (root-dir) These projects include translated DOC's => old directory-structure (incl. CMakeLists.txt in any subdir) => "kdoctools_install()" is NOT used in CMakeLists.txt (root-dir) Is it possible for these projects to use "kdoctools_install()" instead - how would I do that? If there would be no solution for this, what is the propose of "kdoctools_install()", then? Thought with "kdoctools_install()" one is able to get rid of these CMakeLists.txt in subdirs by some magic of these CMake-helpers... -- You are receiving this mail because: You are watching all bug changes.