summaryrefslogtreecommitdiffstats
path: root/Tests/UseSWIG
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2021-07-09 15:31:20 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2021-07-09 15:31:20 (GMT)
commitd1bece92d508edec5a390783ffb245acf22ac5ac (patch)
treedf00ee2902dea81ce593409953625bdb03889b8c /Tests/UseSWIG
parenta5e865c178b0ce3f273c1131972d8c3733deac4b (diff)
downloadCMake-d1bece92d508edec5a390783ffb245acf22ac5ac.zip
CMake-d1bece92d508edec5a390783ffb245acf22ac5ac.tar.gz
CMake-d1bece92d508edec5a390783ffb245acf22ac5ac.tar.bz2
UseSWIG: Use swig generated dependencies for Visual Studio
Diffstat (limited to 'Tests/UseSWIG')
-rw-r--r--Tests/UseSWIG/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/UseSWIG/CMakeLists.txt b/Tests/UseSWIG/CMakeLists.txt
index f1b2f32..c3f9e03 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