diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2023-06-13 15:46:32 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2023-06-15 13:28:55 (GMT) |
commit | 711d1da1255a028947d1117852caa8f33604bd81 (patch) | |
tree | 64d65a0b31f6afa50f56cec6923e8875360a2f72 /Tests/RunCMake/UseSWIG/RunCMakeTest.cmake | |
parent | 883cbf41710ce3a4c4798f9ced93681ec87115cc (diff) | |
download | CMake-711d1da1255a028947d1117852caa8f33604bd81.zip CMake-711d1da1255a028947d1117852caa8f33604bd81.tar.gz CMake-711d1da1255a028947d1117852caa8f33604bd81.tar.bz2 |
FindPython: add capability to select python version for the tests
Diffstat (limited to 'Tests/RunCMake/UseSWIG/RunCMakeTest.cmake')
-rw-r--r-- | Tests/RunCMake/UseSWIG/RunCMakeTest.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/UseSWIG/RunCMakeTest.cmake b/Tests/RunCMake/UseSWIG/RunCMakeTest.cmake index c7a118f..537f67d 100644 --- a/Tests/RunCMake/UseSWIG/RunCMakeTest.cmake +++ b/Tests/RunCMake/UseSWIG/RunCMakeTest.cmake @@ -6,7 +6,7 @@ run_cmake(CMP0078-NEW) run_cmake(CMP0086-WARN) -if (CMake_TEST_FindPython) +if (CMake_TEST_FindPython2 OR CMake_TEST_FindPython3) macro(run_cmake_target test subtest target) set(RunCMake_TEST_BINARY_DIR ${RunCMake_BINARY_DIR}/${test}-build) |