Skip to content

IntelLLVM: Fix link flags with Visual Studio generators

Brad King requested to merge brad.king/cmake:vs-intel-oneapi into master

The link flag wrapping added by !7533 (merged) is not needed with Visual Studio generators because MSBuild invokes the linker directly. Furthermore, that MR omitted wrapping of the per-config linker flags.

Revise the logic to add the link flag wrapping more precisely.

Fixes: #25533 (closed)
Backport: release

Merge request reports