• Robert Langlois's avatar
    UseSWIG: Add `-dllimport` only if not already specified · 76a0286b
    Robert Langlois authored
    SWIG fails with a redefined macro error when `-dllimport` is specified
    more than once.  One case where you would want to specify your own
    dllimport is when using SWIG with netstandard2.0.  .NET Core does not
    search for shared library like Mono or .NET, so you need a fully
    qualified shared library name.
UseSWIG.cmake 13.3 KB