Skip to content

MSVC: Fix MSVC_VERSION when mixing MSVC C/C++ with Intel Fortran

Brad King requested to merge brad.king/cmake:msvc-version into master

When using a real MSVC compiler for C or CXX, use the version of that compiler for MSVC_VERSION. This is preferred over the MSVC version that a non-MSVC compiler "simulates".

Fixes: #17468 (closed)

Merge request reports