diff options
author | Brad King <brad.king@kitware.com> | 2024-08-28 17:57:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-08-28 18:12:41 (GMT) |
commit | 1ad39a9cf8cf2e40c3d9e2fa2b2f807d1d81fceb (patch) | |
tree | 9303cdbd8b1c247f864263a89a26097f629059bb /Tests/UseSWIG | |
parent | 1d6535c88169d74a82d67124002d2959356dce91 (diff) | |
download | CMake-1ad39a9cf8cf2e40c3d9e2fa2b2f807d1d81fceb.zip CMake-1ad39a9cf8cf2e40c3d9e2fa2b2f807d1d81fceb.tar.gz CMake-1ad39a9cf8cf2e40c3d9e2fa2b2f807d1d81fceb.tar.bz2 |
UseSWIG: Simplify test for Visual Studio generators
Since commit 03c31b0395 (Drop Visual Studio 9 2008 generator,
2024-05-06, v3.30.0-rc1~134^2), the test does not need to be
version-dependent.
Diffstat (limited to 'Tests/UseSWIG')
-rw-r--r-- | Tests/UseSWIG/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/UseSWIG/CMakeLists.txt b/Tests/UseSWIG/CMakeLists.txt index 0971025..d36c3ff 100644 --- a/Tests/UseSWIG/CMakeLists.txt +++ b/Tests/UseSWIG/CMakeLists.txt @@ -87,7 +87,7 @@ add_test(NAME UseSWIG.BasicPerl5 COMMAND --test-command ${CMAKE_CTEST_COMMAND} -V -C $<CONFIGURATION> ) if(SWIG_FOUND AND NOT SWIG_VERSION VERSION_LESS "4.0.2" - AND CMAKE_GENERATOR MATCHES "Make|Ninja|Xcode|Visual Studio (1[1-9]|[2-9][0-9])") + AND CMAKE_GENERATOR MATCHES "Make|Ninja|Xcode|Visual Studio") add_test(NAME UseSWIG.Depfile.BasicPython COMMAND ${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION> --build-and-test |