MantisBT - CMake
View Issue Details
0012952CMakeModulespublic2012-02-09 16:152012-02-16 02:33
Alex Neundorf 
Alex Neundorf 
normalminoralways
closedfixed 
CMake 2.8.7 
 
0012952: FindGetText.cmake can create the same target multiple times
FindGetText.cmake uses add_custom_target() to create custom targets, e.g. in the function GETTEXT_PROCESS_PO_FILES().
If this is called multiple times, the target is created multiple times.
This works only if CMP0002 is set to OLD.
Not doing this would be better.
No tags attached.
Issue History
2012-02-09 16:15Alex NeundorfNew Issue
2012-02-09 16:15Alex NeundorfStatusnew => assigned
2012-02-09 16:15Alex NeundorfAssigned To => Alex Neundorf
2012-02-16 02:33Alex NeundorfNote Added: 0028602
2012-02-16 02:33Alex NeundorfStatusassigned => closed
2012-02-16 02:33Alex NeundorfResolutionopen => fixed

Notes
(0028602)
Alex Neundorf   
2012-02-16 02:33   
Merged the branch FindGetTextFixMultipleTargets into next.
The fix has been confirmed to work here (where the problem was reported initially):
https://bugs.kde.org/show_bug.cgi?id=293030 [^]

Alex