Skip to content

MSVC: Avoid unnecessary C++ feature detection steps

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

Since !833 (merged) we run full per-language-standard feature detection for MSVC. This is not necessary because the base mode for MSVC has all features we define except for the meta-features for C++17 and above. Override the default C++ feature detection macro for MSVC to run detection only once as before.

Fixes: #17274 (closed)

Merge request reports