Skip to content

Tests: Look for Visual Studio only on Windows hosts

Brad King requested to merge brad.king/cmake:test-vs-windows-hosts into master

Update logic added by !4898 (merged) to only look for VS installations using cmake_host_system_information on Windows hosts. Otherwise the VS_*_DIR keys are not available.

Fixes: #21547 (closed)
Backport: release

Merge request reports

Loading