[cmake-developers] [CMake 0012952]: FindGetText.cmake can create the same target multiple times

Mantis Bug Tracker mantis at public.kitware.com
Thu Feb 9 16:15:20 EST 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12952 
====================================================================== 
Reported By:                Alex Neundorf
Assigned To:                Alex Neundorf
====================================================================== 
Project:                    CMake
Issue ID:                   12952
Category:                   Modules
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2012-02-09 16:15 EST
Last Modified:              2012-02-09 16:15 EST
====================================================================== 
Summary:                    FindGetText.cmake can create the same target
multiple times
Description: 
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.

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-02-09 16:15 Alex Neundorf  New Issue                                    
2012-02-09 16:15 Alex Neundorf  Status                   new => assigned     
2012-02-09 16:15 Alex Neundorf  Assigned To               => Alex Neundorf   
======================================================================




More information about the cmake-developers mailing list