diff options
author | Brad King <brad.king@kitware.com> | 2021-07-13 12:22:22 +0000 |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-07-13 08:22:28 -0400 |
commit | 48abfe9976bb451c6cab4062f328297886e45b08 (patch) | |
tree | 9f485f5352086d9b7f763f272a18280df4a072e3 /Tests | |
parent | 18b356801874cdca9dd87a2c42e80417f7eb8f15 (diff) | |
parent | d1bece92d508edec5a390783ffb245acf22ac5ac (diff) | |
download | cmake-48abfe9976bb451c6cab4062f328297886e45b08.tar.gz |
Merge topic 'UseSWIG-dependencies-VS-generators'
d1bece92d5 UseSWIG: Use swig generated dependencies for Visual Studio
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6327
Diffstat (limited to 'Tests')
-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 f1b2f32148..c3f9e033a7 100644 --- a/Tests/UseSWIG/CMakeLists.txt +++ b/Tests/UseSWIG/CMakeLists.txt @@ -67,7 +67,7 @@ add_test(NAME UseSWIG.BasicPerl 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") + AND CMAKE_GENERATOR MATCHES "Make|Ninja|Xcode|Visual Studio (1[1-9]|[2-9][0-9])") add_test(NAME UseSWIG.Depfile.BasicPython COMMAND ${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION> --build-and-test |