Skip to content
  • Brad King's avatar
    Tests: Restore support for CMake 3.1 through 3.6 with MSVC · a0d4430d
    Brad King authored
    The change in commit a5dd1599 (Tests: Fix RunCMake.try_compile
    CxxStandard case on MSVC, 2017-09-22, v3.10.0-rc1~63^2) introduced use
    of `if()` conditions not supported until CMake 3.7, so while it was
    intended to restore support for CMake versions prior to 3.9, it actually
    only did so for 3.7 and 3.8.  Backport the logic to work with CMake 3.1.
    
    Fixes: #18987
    a0d4430d