summaryrefslogtreecommitdiffstats
path: root/Tests/UseSWIG
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-11-22 16:11:56 (GMT)
committerBrad King <brad.king@kitware.com>2021-11-22 16:11:56 (GMT)
commit454344f35d2e5810ef6861d53776e0799958151c (patch)
tree6b7cfd5c96a04ac05197d99a1ad6a82cc7f02dbe /Tests/UseSWIG
parent354cd1502923fc7adeab37cc898659b1b9671b2c (diff)
parent7224eb5185f6cbd3ce244e8ea5f6ec89d5a517f9 (diff)
downloadCMake-454344f35d2e5810ef6861d53776e0799958151c.zip
CMake-454344f35d2e5810ef6861d53776e0799958151c.tar.gz
CMake-454344f35d2e5810ef6861d53776e0799958151c.tar.bz2
Merge branch 'UseSWIG-create-workingdir' into release-3.22
Merge-request: !6750
Diffstat (limited to 'Tests/UseSWIG')
-rw-r--r--Tests/UseSWIG/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/UseSWIG/CMakeLists.txt b/Tests/UseSWIG/CMakeLists.txt
index c3f9e03..c76e8a0 100644
--- a/Tests/UseSWIG/CMakeLists.txt
+++ b/Tests/UseSWIG/CMakeLists.txt
@@ -76,6 +76,7 @@ if(SWIG_FOUND AND NOT SWIG_VERSION VERSION_LESS "4.0.2"
${build_generator_args}
--build-project TestBasicPython
--build-options ${build_options} -DSWIG_USE_SWIG_DEPENDENCIES=ON
+ "-DSWIG_OUTFILE_DIR=${CMake_BINARY_DIR}/Tests/UseSWIG/BasicPython.Depfile"
--test-command ${CMAKE_CTEST_COMMAND} -V -C $<CONFIGURATION>
)
add_test(NAME UseSWIG.Depfile.BasicPerl COMMAND