Skip to content

Tests: Fix RunCMake.try_compile CxxStandard case on MSVC

In post-3.9 development we've taught CMake to understand C++ language standards for MSVC. The RunCMake.try_compile test needs to know whether to expect support or not. Previously we depended on the host CMake version to know this, but CMake 3.9 and below do not. Add special logic to the test to account for this.

Merge request reports