diff options
author | Brad King <brad.king@kitware.com> | 2024-05-06 16:40:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-05-08 14:37:34 (GMT) |
commit | 03c31b0395eaabbfd76d255f85d50b1df1437aef (patch) | |
tree | 064c3d5fd7598b3cbd71e57115d81126feb54922 /Tests/RunCMake/BuildDepends | |
parent | 88c70dde34e76b79111adecc31493e9222e96e9c (diff) | |
download | CMake-03c31b0395eaabbfd76d255f85d50b1df1437aef.zip CMake-03c31b0395eaabbfd76d255f85d50b1df1437aef.tar.gz CMake-03c31b0395eaabbfd76d255f85d50b1df1437aef.tar.bz2 |
Drop Visual Studio 9 2008 generator
This generator has been deprecated since CMake 3.27. Remove it.
Diffstat (limited to 'Tests/RunCMake/BuildDepends')
-rw-r--r-- | Tests/RunCMake/BuildDepends/RunCMakeTest.cmake | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Tests/RunCMake/BuildDepends/RunCMakeTest.cmake b/Tests/RunCMake/BuildDepends/RunCMakeTest.cmake index fada37a..a5f9622 100644 --- a/Tests/RunCMake/BuildDepends/RunCMakeTest.cmake +++ b/Tests/RunCMake/BuildDepends/RunCMakeTest.cmake @@ -180,8 +180,7 @@ if (RunCMake_GENERATOR MATCHES "Makefiles") unset(RunCMake_TEST_NO_CLEAN) endif() -if(RunCMake_GENERATOR MATCHES "Make|Ninja|Visual Studio|Xcode" AND - NOT RunCMake_GENERATOR MATCHES "Visual Studio (9|10)( |$)") +if(RunCMake_GENERATOR MATCHES "Make|Ninja|Visual Studio|Xcode") unset(run_BuildDepends_skip_step_3) run_BuildDepends(CustomCommandDepfile) set(run_BuildDepends_skip_step_3 1) @@ -191,8 +190,7 @@ if(RunCMake_GENERATOR MATCHES "Make") run_BuildDepends(MakeDependencies) endif() -if(RunCMake_GENERATOR MATCHES "^Visual Studio 9 " OR - (RunCMake_GENERATOR MATCHES "Ninja" AND ninja_version VERSION_LESS 1.7)) +if(RunCMake_GENERATOR MATCHES "Ninja" AND ninja_version VERSION_LESS 1.7) # This build tool misses the dependency. set(run_BuildDepends_skip_step_2 1) endif() |