Tests: Fix RunCMake.BuildDepends on VS 2017 with v90 toolset

The MSVC toolsets v100 and below forget to re-link when a manifest
changes.  Exclude this part of the test case for them.
This commit is contained in:
Brad King 2017-08-25 09:55:50 -04:00
parent c7c639f2f3
commit ce602febf0

View File

@ -32,7 +32,8 @@ endfunction()
run_BuildDepends(C-Exe)
if(NOT RunCMake_GENERATOR STREQUAL "Xcode")
if(RunCMake_GENERATOR MATCHES "Visual Studio 10")
if(RunCMake_GENERATOR MATCHES "Visual Studio 10" OR
RunCMake_GENERATOR_TOOLSET MATCHES "^(v80|v90|v100)$")
# VS 10 forgets to re-link when a manifest changes
set(run_BuildDepends_skip_step_2 1)
endif()