Skip to content
  • Alexander Neundorf's avatar
    FindGetText: fix multiple targets with the same name problem (CMP0002) · 3b488228
    Alexander Neundorf authored
    The functions in FindGettext create a custom target. If the functions
    are called multiple times, multiple times the same target is created.
    This works only if CMP0002 is set to OLD.
    With this patch there is only one central target created, and each
    invocation of the function creates a target with a unique name and
    make the central target depend on this one.
    
    Alex
    3b488228