summaryrefslogtreecommitdiff
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-02-11 13:20:57 +0000
committerKitware Robot <kwrobot@kitware.com>2020-02-11 08:21:06 -0500
commitbdd4fb32adebaa2fc47ebd281d441203d8ef4baa (patch)
treedfdebb6c5d98eeef9b943f601ca4078f442e6f49 /Tests
parent8e39e0c3e383e226f0d4bc6f227816cc4acf9923 (diff)
parent3dab4682f6531343448f290976628e571a35dafd (diff)
downloadcmake-bdd4fb32adebaa2fc47ebd281d441203d8ef4baa.tar.gz
Merge topic 'FindPython-reduce-resources-comsumption' into release-3.17
3dab4682f6 FindPython: reduces consumption of resources Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4338
Diffstat (limited to 'Tests')
-rw-r--r--Tests/FindPython/VirtualEnv/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/FindPython/VirtualEnv/CMakeLists.txt b/Tests/FindPython/VirtualEnv/CMakeLists.txt
index 9e8c6734f6..045a3f2433 100644
--- a/Tests/FindPython/VirtualEnv/CMakeLists.txt
+++ b/Tests/FindPython/VirtualEnv/CMakeLists.txt
@@ -10,6 +10,7 @@ if (NOT Python3_FOUND)
endif()
set (Python3_VIRTUAL_ENV "${CMAKE_CURRENT_BINARY_DIR}/py3venv")
+file (REMOVE_RECURSE "${CMAKE_CURRENT_BINARY_DIR}/py3venv")
execute_process (COMMAND "${Python3_EXECUTABLE}" -m venv "${Python3_VIRTUAL_ENV}"
RESULT_VARIABLE result