Skip to content

UseSWIG: Use CSharp language only if it is enabled

Brad King requested to merge brad.king/cmake:UseSWIG-csharp-conditional into master

In !2137 (merged) we explicitly marked swig-generated .cs files as LANGUAGE CSharp so that the resulting sources can be compiled. However, this works only when the CSharp language has been enabled.

Fixes: #18184 (closed)

Merge request reports