diff options
author | Brad King <brad.king@kitware.com> | 2020-02-11 13:20:57 +0000 |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-02-11 08:21:06 -0500 |
commit | bdd4fb32adebaa2fc47ebd281d441203d8ef4baa (patch) | |
tree | dfdebb6c5d98eeef9b943f601ca4078f442e6f49 /Tests | |
parent | 8e39e0c3e383e226f0d4bc6f227816cc4acf9923 (diff) | |
parent | 3dab4682f6531343448f290976628e571a35dafd (diff) | |
download | cmake-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.txt | 1 |
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 |