Skip to content

Swift: Restore support for enabling with INTERFACE libraries

Brad King requested to merge brad.king/cmake:swift-with-interface-libs into master

The check added in !3410 (merged) makes sense only for executables because the WIN32_EXECUTABLE property is defined only for them. Running the check on other target types, particularly those that do not link such as INTERFACE libraries, violates internal assumptions. In particular, GetLinkerLanguage should not be called on such targets.

Fixes: #19528 (closed)

Merge request reports