• Marc Chevrier's avatar
    UseSWIG: Restore support for like-named .i files in different modules · bc3697fa
    Marc Chevrier authored
    Fix logic added by commit 2ee10119 (swig: fix incremental build in
    case of removed interface files, 2017-11-06).  Name the extra targets
    added for Makefile generators using both the module name and .i base
    name to avoid collisions across modules.  Also make sure the extra
    targets added for all .i files in a module are added as dependencies
    instead of just the last one.
    
    Fixes: #17704
    bc3697fa
UseSWIG.cmake 14.8 KB