summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-02-11 13:20:57 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-02-11 13:21:07 (GMT)
commit29423cde1198541204efffa020159be9900249ac (patch)
tree3831b63eb14f5cac28527d471dfcc745641247e4 /Tests
parentd022c3aa848fb8f402ddd253678a29552ef1b109 (diff)
parent3dab4682f6531343448f290976628e571a35dafd (diff)
downloadCMake-29423cde1198541204efffa020159be9900249ac.zip
CMake-29423cde1198541204efffa020159be9900249ac.tar.gz
CMake-29423cde1198541204efffa020159be9900249ac.tar.bz2
Merge topic 'FindPython-reduce-resources-comsumption'
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 9e8c673..045a3f2 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