aboutsummaryrefslogtreecommitdiff
path: root/ports/soundtouch
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2018-03-08 11:12:22 -0800
committerRobert Schumacher <roschuma@microsoft.com>2018-03-08 11:12:22 -0800
commitf9ee8fd6b5764ed4d2f5a6c71a092d70398f4ead (patch)
tree33fc47e0cf83dc2b175ef6b370a61209a4756de4 /ports/soundtouch
parent9574b71cabde50bc24acb968f4dc397e8b44145b (diff)
downloadvcpkg-f9ee8fd6b5764ed4d2f5a6c71a092d70398f4ead.tar.gz
vcpkg-f9ee8fd6b5764ed4d2f5a6c71a092d70398f4ead.zip
[soundtouch][winpcap] Clear sources between builds to improve reliability
Diffstat (limited to 'ports/soundtouch')
-rw-r--r--ports/soundtouch/portfile.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/soundtouch/portfile.cmake b/ports/soundtouch/portfile.cmake
index 42c055312..cadf5e705 100644
--- a/ports/soundtouch/portfile.cmake
+++ b/ports/soundtouch/portfile.cmake
@@ -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(