summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/BuildDepends/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-08-25 13:55:50 (GMT)
committerBrad King <brad.king@kitware.com>2017-08-25 13:55:50 (GMT)
commitce602febf0095dcd435a211eeb91e364e203fdc0 (patch)
tree1883f6998506697809e230e1a6475cb6957d8e62 /Tests/RunCMake/BuildDepends/RunCMakeTest.cmake
parentc7c639f2f363b6918ac13daea214cea56035e0aa (diff)
downloadCMake-ce602febf0095dcd435a211eeb91e364e203fdc0.zip
CMake-ce602febf0095dcd435a211eeb91e364e203fdc0.tar.gz
CMake-ce602febf0095dcd435a211eeb91e364e203fdc0.tar.bz2
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.
Diffstat (limited to 'Tests/RunCMake/BuildDepends/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/BuildDepends/RunCMakeTest.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/RunCMake/BuildDepends/RunCMakeTest.cmake b/Tests/RunCMake/BuildDepends/RunCMakeTest.cmake
index 9941c70..1bf8fbc 100644
--- a/Tests/RunCMake/BuildDepends/RunCMakeTest.cmake
+++ b/Tests/RunCMake/BuildDepends/RunCMakeTest.cmake
@@ -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()