mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
[vcpkg] Remove log files when downloading succeeds.
This commit is contained in:
parent
892f7052f9
commit
8754105991
@ -128,6 +128,11 @@ function(vcpkg_download_distfile VAR)
|
||||
set(download_success 0)
|
||||
else()
|
||||
message(STATUS "Downloading ${vcpkg_download_distfile_FILENAME}... OK")
|
||||
file(REMOVE
|
||||
${DOWNLOADS}/download-${vcpkg_download_distfile_FILENAME}-out.log
|
||||
${DOWNLOADS}/download-${vcpkg_download_distfile_FILENAME}-err.log
|
||||
${DOWNLOADS}/download-${vcpkg_download_distfile_FILENAME}-detailed.log
|
||||
)
|
||||
set(download_success 1)
|
||||
endif()
|
||||
else()
|
||||
|
Loading…
x
Reference in New Issue
Block a user