• Nils Gladitz's avatar
    Revert "add_custom_command: Diagnose MAIN_DEPENDENCY limitation." · 32a2f414
    Nils Gladitz authored and Brad King's avatar Brad King committed
    This reverts commit 242c3966 (add_custom_command: Diagnose
    MAIN_DEPENDENCY limitation, 2015-03-09) and the follow up commit
    b372a99a (UseSWIG: Do not use MAIN_DEPENDENCY on custom commands,
    I misdiagnosed the underlying issue that prompted creation of policy CMP0057.
    The actual issue surfaces when a single custom command's MAIN_DEPENDENCY
    is listed in more than one target; this issue will have to be addressed