[soundtouch][winpcap] Clear sources between builds to improve reliability

This commit is contained in:
Robert Schumacher 2018-03-08 11:12:22 -08:00
parent 9574b71cab
commit f9ee8fd6b5
2 changed files with 7 additions and 0 deletions

View File

@ -19,6 +19,9 @@ vcpkg_download_distfile(ARCHIVE
SHA512 50ef36b6cd21c16e235b908c5518e29b159b11f658a014c47fe767d3d8acebaefefec0ce253b4ed322cbd26387c69c0ed464ddace0c098e61d56d55c198117a5
)
# MSBuild performs in-source builds, so to ensure reliability we must clear them each time
file(REMOVE_RECURSE ${CURRENT_BUILDTREES_DIR}/src)
vcpkg_extract_source_archive(${ARCHIVE})
vcpkg_execute_required_process(

View File

@ -17,6 +17,10 @@ vcpkg_download_distfile(ARCHIVE
FILENAME "WpcapSrc_4_1_3.zip"
SHA512 89a5109ed17f8069f7a43497f6fec817c58620dbc5fa506e52069b9113c5bc13f69c307affe611281cb727cfa0f8529d07044d41427e350b24468ccc89a87f33
)
# MSBuild performs in-source builds, so to ensure reliability we must clear them each time
file(REMOVE_RECURSE ${CURRENT_BUILDTREES_DIR}/src)
vcpkg_extract_source_archive(${ARCHIVE})
if(VCPKG_CRT_LINKAGE STREQUAL "static")